TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gurjeet Singh
NA
90
94.7k
Combine select statements
Feb 16 2013 2:30 AM
How can comibne below all select statement into one select statement.
Actaully i want max(id ) of each item into one select statement
Select item,balance from ACTesting where id =(select max(id) from ACTesting where item='1/2')
Select item,balance from ACTesting where id =(select max(id) from ACTesting where item='2/2')
Select item,balance from ACTesting where id =(select max(id) from ACTesting where item='2/3')
Reply
Answers (
3
)
Function
Which join i have to use?