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
padmapriya patruni
NA
74
117.5k
Getting duplicate values
Nov 4 2015 3:53 AM
hi ,
I am getting duplicate values . but i used distinct still getting duplicates
please help me
SELECT DISTINCT p.EmployeeId,
p.ProjectEmployeeId,
p.StartDate,
p.EndDate,
p.AllocationPercentage,
CONCAT(e.FirstName,' ', e.LastName)AS EmployeeName
FROM projectemployee p
LEFT OUTER JOIN employee e ON p.EmployeeId=e.EmployeeId
WHERE CURDATE() NOT BETWEEN p.StartDate AND p.EndDate OR p.AllocationPercentage <100
ORDER BY e.FirstName ASC;
Reply
Answers (
4
)
sql query
How to find seconday thusday of month..