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
Danish Habib
NA
694
243.5k
Query
Mar 22 2016 4:15 AM
I want to get the data from two tables from one table i want to get all the data and from second table i want just one column i have a relationship between the tables
SELECT * from First,S.CodeName
INNER JOIN second AS S on Second.RID=First.RId
1-one way is to get all the columns from first table by name to name like i have to include all the columns just like that
SELECT F.Name,F.Code,F.Date from First
INNER JOIN Second as S ON s.Code=F.Code
Oder by F.Code
---This works fine but i want to know other way how to used Select * and a specific column in one query please assists
Reply
Answers (
3
)
how to return some values from insert procedure?
How to store passage type questions and answers in sqlserver