question

Manoj2346 avatar image
Manoj2346 asked

Please solve this ??

img-20200308-wa0015.jpg

sqlhomework
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ThomasRushton avatar image ThomasRushton ♦♦ commented ·

This looks like homework. What have you tried so far?

0 Likes 0 ·
goelprashant03 avatar image goelprashant03 commented ·

What's the table definition? And like Tom said, what have you tried?

0 Likes 0 ·

1 Answer

·
Jeff Moden avatar image
Jeff Moden answered

Since this definitely looks like a test or interview question, I'll just give you a hint. Which table do you think you'd find a "City" name in. Then, just follow that through the ERD to the only table that has anything to do with any form of revenue and the query will almost write itself.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.