Use the numbers 3,4,5,6 and the operators +, -, / and * to get the number 28
You can use each number only one time and also each operator one time
You don't have to use all operators, as far as I know the only way is to use all the numbers
Create a SQL SELECT statement You will need parentheses to make it work, good luck
The solution is below highlight to see, but don't give up so fast
solution below (highlight to see)
select 4*(5+6/3)
solution above (highlight to see)
It might be worth mentioning that you don't use every operator. It should be obvious if you think about it, but your wording makes it sound as if all operators are used.
ReplyDeleteI have updated the text so that there should be no confusion anymore
ReplyDeleteAnd here's another (and seasonal) SQL quiz .
ReplyDelete