Sql select from a b. Select table. select * from table. select table1.*, table2.* from table1,table2. select * from table1 join table2 on 5.