You are on page 1of 4

N01346254 Inderjit Singh

Hive In Class Asssignment


Selecting the records from the tables:
1. Select * from users limit 2;

2. Select * from movies limit 2;

3. Select * from occupations limit 2;

4. Select * from ratings limit 2;


Executing use cases :

1. Find out Occupation of all the users

Query result :
2. Find out numbers of non-adults, who has rated movies:

Query result:

3. Find out the no of users with same occupation and having age more
than 25 along with occupation details:

Query result:
4. Find the age of the most rated user with counts of rating;

Query result :

You might also like