+ 2

Error I don’t understand please thank you!

/* Table desserts select the dessert name and price where the name contains 'chocolate' */ select name,price from desserts where name ='chocolate'

16th Nov 2024, 7:04 AM
Candy
2 Respuestas
+ 10
The name contains 'chocolate', which means it may be like 'chocolate cake' or 'milk chocolate truffle'. Use wildcards in the comparison string in order to allow for more than just 'chocolate'. Also you will need a different comparison operator other than =, since you will be looking for an inexact match.
16th Nov 2024, 8:30 AM
Brian
Brian - avatar
+ 1
Thankyou🙏
18th Nov 2024, 6:39 AM
Candy