Need Mysql query in python to select records from table having column (table_no, is_new). table_no is integer, is_new is integer. so let say if I have data like this in tabl