Question: SQL Question 1: USE SQL QUERY Given three following columns in table X: Seller ID Category Sales (Millions dollar) 1 Book 258 2 Electronics 299

SQL Question 1: USE SQL QUERY

Given three following columns in table X:

Seller ID

Category

Sales (Millions dollar)

1

Book

258

2

Electronics

299

3

Electronics

123

4

Book

272

5

FMCG

485

6

Book

187

7

FMCG

349

8

FMCG

61

9

Electronics

321

10

FMCG

20

a. Write a SQL query to find the best seller by each category. Expected result:

Seller ID

Category

Sales (Millions dollar)

4

Book

272

9

Electronics

321

5

FMCG

485

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!