command for selecting table and attributes in sql server code example Example: select query in sql SELECT column_name FROM table_name;