codice:# # Table structure for table 'test' # CREATE TABLE /*!32300 IF NOT EXISTS*/ test ( a tinyint(3) unsigned DEFAULT '0' , b tinyint(3) unsigned DEFAULT '0' ); "SELECT a,b,SUBSTRING(a/b FROM INSTR(a/b,'.')) FROM test;" "SELECT a,b,ABS(FLOOR(a/b)-a/b) FROM test;"