Create class_query.sql