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
In supervised digital image classification, the number of combinations to be evaluated to select three best bands out of five bands is _____________
Piecewise linear contrast stretch is performed on an 8-bit image. The output (\( BV_{{out}} \)) would be zero for input value \( BV_{{in}} \leq 80 \). The output (\( BV_{{out}} \)) would be 255 for \( BV_{{in}}>120 \). For the remaining input values, \( BV_{{out}} = (2 \times BV_{{in}}) - 20 \). If \( BV_{{in}} = 120 \), then \( BV_{{out}} \) is_____________
In levelling between two points P and Q on opposite banks of a river, the level was set up near P, and the staff readings on P and Q were 2.165 m and 3.810 m, respectively. The level was then moved and set up near Q and the respective staff readings on P and Q were 0.910 m and 2.355 m. The true difference of level between P and Q is ____________m (rounded off to 3 decimal places).
A level with the height of the instrument being 2.550 m has been placed at a station having a Reduced Level (RL) of 130.565 m. The instrument reads 3.665 m on a levelling staff held inverted at the bottom of a bridge deck. The RL of the bottom of the bridge deck is _____________
The table below is an attribute table about employee records. Which attribute can be used as a primary key?
| Employee | Name | Designation | Department |
|---|---|---|---|
| (Emp_ID) | (Emp_Name) | (Emp_Desig) | (Emp_Dept) |
| 100260 | Prashant | Software Developer | Information Technology |
| 100265 | Dinesh | Junior Engineer | Embedded System |
| 100252 | Somya | HR Manager | Management |
| 100271 | Dinesh | Junior Engineer | Information Technology |