how does a select query work in sql code example Example: select query in sql SELECT column_name FROM table_name;