Question · SQL and MySQL course · Module 1: Introduction to databases

Number of returned columns

How many columns will the query "SELECT tytul, cena FROM ksiazki;" return?

Answer options

  • All columns of the ksiazki table
  • One - only tytul
  • As many as there are rows in the table
  • Two - tytul and cena
Show the answer

Correct answer:

  • Two - tytul and cena