What command do I use to put parameter in a list in sql?

Asked

Viewed 26 times

0

I was performing a proof appeared a question saying to create a list in which the values were not greater than 6, I could not understand very well to do this.

  • 1

    I didn’t quite understand the question, but it wouldn’t just be a SELECT * FROM table where value <= 6?

  • Yes, that solved my problem, thanks.

1 answer

0

I believe that what they are requesting is that you return the records of a table whose value of a given field is not greater than 6.

If it is that would have to do so:

select *
from tabela
where campo <= 6

Browser other questions tagged

You are not signed in. Login or sign up in order to post.