How to find out the second largest element from mysql table
Answer Posted / nikhil mishra
SELECT Salary FROM tablename order by Salary desc limit 1,1
| Is This Answer Correct ? | 24 Yes | 11 No |
Post New Answer View All Answers
Is mysql a programming language?
In mysql, what is the default storage engine?
Please can the SQL code below be interpreted IF @xMatchCriteria='MATCH12' BEGIN IF EXISTS (Select * from #InsightData where (EmailAddress=@xDCPEmailAddress ) ) BEGIN SET @xTestMatchCriteria = @xMatchCriteria; SELECT @xCRMCustomerId=CustomerId, @xCRMDcpCustomerId=DcpCustomerId, @xCRMPortalCustomerID=PortalCustomerID,@xCRMDcpID=DcpID, @xCRMCardNumber=CardNumber, @xCRMEmailAddress=EmailAddress, @xCRMfirtLetterFirstName=firtLetterFirstName, @xCRMLastName=Surname,@xCRMAddressLine1=AddressLine1, @xCRMPostCode=PostCode FROM #InsightData where (EmailAddress=@xDCPEmailAddress ) END ELSE BEGIN SET @xTestMatchCriteria='No'+@xMatchCriteria; END END
What is the use of i-am-a-dummy flag in mysql?
How does mysql store data?
How do I change the max connections in mysql?
What is definer in mysql trigger?
What is query log in mysql?
Is mysql relational?
How will show all records containing the name "sonia" and the phone number '9876543210'
How to list or view all databases from the mysql server.
How to display top 50 rows?
How can we encrypt and decrypt a data presented in a table using mysql?
How do I use mysql?
How many tables we can create in mysql database?