The first value in the output of a SQL query (given below) when run on a table having name “Table-1” is?
SQL Query: SELECT LastName FROM Table-1 WHERE State = "IN" ORDER BY FirstName
| LastName | FirstName | StreetNumber | StreetName | City | State |
|---|---|---|---|---|---|
| Squires | Edwin | 4589 | Shamar Rd. | Upland | IN |
| Rothrock | Paul | 91657 | Carex Ave. | Upland | IN |
| Ramirez | Douglas | 123 | Fake St. | Springfield | IN |
| Peterson | Chris | 4687 | Windthrow Way | Kane | PA |
| Gibson | David | 354 | Bluestem St. | Carbondale | IL |
We are given the query:
SELECT LastName FROM Table-1 WHERE State = "IN" ORDER BY FirstName
Let's filter the table rows where State is "IN":
- Squires, Edwin — IN
- Rothrock, Paul — IN
- Ramirez, Douglas — IN
Now, order these by the FirstName column:
1. Douglas (Ramirez)
2. Edwin (Squires)
3. Paul (Rothrock)
So, the first entry by alphabetical order of FirstName is Douglas, and the corresponding LastName is Ramirez.
Answer: Ramirez
Eight students (P, Q, R, S, T, U, V, and W) are playing musical chairs. The figure indicates their order of position at the start of the game. They play the game by moving forward in a circle in the clockwise direction.
After the 1st round, the 4th student behind P leaves the game.
After the 2nd round, the 5th student behind Q leaves the game.
After the 3rd round, the 3rd student behind V leaves the game.
After the 4th round, the 4th student behind U leaves the game.
Who all are left in the game after the 4th round?

The 12 musical notes are given as \( C, C^\#, D, D^\#, E, F, F^\#, G, G^\#, A, A^\#, B \). Frequency of each note is \( \sqrt[12]{2} \) times the frequency of the previous note. If the frequency of the note C is 130.8 Hz, then the ratio of frequencies of notes F# and C is:
Here are two analogous groups, Group-I and Group-II, that list words in their decreasing order of intensity. Identify the missing word in Group-II.
Abuse \( \rightarrow \) Insult \( \rightarrow \) Ridicule
__________ \( \rightarrow \) Praise \( \rightarrow \) Appreciate
Figure below shows the scatterplot of training pixels of water (w), sand (s), forest (f) and commercial (c) in bands 1 and 2. Pixel ‘A’ having digital number 4 and 6 in band 1 and band 2, respectively, is to be classified using k-nearest neighbor classifier having the value of k equal to 5. The assigned class for the pixel ‘A’ is ____________
