I have a database table which stores names of people, i want to fetch the first entry of my database table. Is it possible using SQL query?
you can use select first(column_name) from table_name order by primary_id first().is an aggregate function available for mssql you can also go for 'top' in mssql
select first(column_name) from table_name order by primary_id