GATE Assistant

Past questions › Geomatics Engineering › GATE 2025

GATE 2025 · GE · MCQ · 2 marks · GIS › DBMS & Spatial Databases

GATE 2025 Geomatics Engineering question: The first value in the output of a SQL query (given below) when run on a table having…

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

Table-1

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
  1. (A)

    Ramirez

  2. (B)

    Douglas

  3. (C)

    Paul

  4. (D)

    Squires

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion