SELECT COUNT(*) FROM your_table; SELECT * FROM your_table LIMIT 5; SELECT field FROM table1 WHERE field NOT IN (SELECT field FROM table1, table2 WHERE table1.field = table2.field) SELECT count(*) FROM table WHERE filed IS NULL; SELECT field, count(*) FROM table GROUP BY field
INSERT INTO table_name (col, col, col) SELECT (normal select statement)
SELECT InstitutionName FROM COLLEGE_RAW WHERE InstitutionCategoryCode NOT IN ( SELECT InstitutionCategoryCode FROM COLLEGE_CATEGORY,COLLEGE_RAW WHERE COLLEGE_RAW.InstitutionCategoryCode = COLLEGE_CATEGORY.Code);