basic structure of sql queries geeksforgeeks