SELECT col2 FROM table WHERE col1=max(col1?);
rajhoq12
0
Light Poster
Recommended Answers
Jump to PostIt is unclear what you wish to achieve by seeing the query you have posted.
To simply select max from a column/attributeSELECT max(sal) FROM EMP
//Displays maximum salary for the EMP table
It may be noted that group functions can't be used after thewhere
clause
A second guess at …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.