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
Priti Srivastava
NA
12
5k
Incorrect Syntax near "as"
Nov 4 2014 5:08 AM
"Select Appointment.Time as Time,Appointment.Date As Date, (Select Dept_Name From Department Where Department.Dept_Id=Appointment.Dept_Id) As Dept,(Select Staff_Name From staff_name Where staff_name.Staff_Id=Appointment.Staff_Id )As Doctor" +
"(Select Pnt_Name From Patient_Reg Where Patient_Reg.Patient_Id = Appointment.Patient_Id) as Name
FROM Appointment";
In it, show an error "Incorrect syntax near 'as' ". Please Suggest me correct syntax
thank you
Reply
Answers (
3
)
SQL Query Problem
Unable to get the data stored in database adding a new recrd