last day (14 days later) » 

4:40 AM
1
A: how add or display column value which come from other table calculation in mysql

1000111Here's the query: SELECT leavetable.leave_type_id, leavetable.`name`, CONCAT(COALESCE(t.totalAppliedLeave,'0'),'/',leavetable.`day`) AS applied FROM leavetable LEFT JOIN ( SELECT leave_type_id, employee_id, COUNT(*) totalAppliedLeave FROM leave_applied W...

 
OK let me do i will tell you Once i will face Prob
 
Please check the fiddle first. And you need to change the table name which I used as leaveTable
 
Error Code: 1140. In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'Parabola.leave_applied.leave_type_id'; this is incompatible with sql_mode=only_full_group_by @1000111 51 this error coming
 
Please check now @ResearchDevelopment
 
Thnkyou very much
again thank you @1000111 i am wrting first time Query an all so for this thanx
 
4:40 AM
You are welcome dear! I am happy to hear that it worked for you. Happy Coding!
 
@ 1000111 5 if you dont mind can you teach me some MySql related this because i am beginner sudden i got work in this please
 
I would suggest you to go through a good tutorial (sequentially) and whenever you get stuck search for similar problems. Nevertheless, if your issue isn't solved then ask here (Stack Overflow). That's the purpose of this site. Just in case if you need elaborate explanation regarding any of your posts on MySQL just let me know. I'll try my best to help.
 
Ok Thnkyou very much how i will Ping You if I need Ur help ?
 
You can use this comment section just like you did it a moment ago. :p
 
hi u there good morning
 
4:40 AM
yes
 
@1000111 i have to display employee id also of Second Column
can you please tell me how i will Join that
Output should like leavetype_id,name,applied,employeed_id
 
How would the output look like then (including the employee_id) ? Please share the output like you did yesterday paste.ofcode.org/m8LKrD85KCtemRjXT2CVzQ
 
Check the query here paste.ubuntu.com/19336211
 
Ok wait
i am doing because i want to pass that Employee id and we will get accordingly data
Superb and Thankyou very much
 
4:50 AM
You are welcome
 
which room i can find you ?
 
you can use this room
 
OK Thanx dear
 
wait a minute
 
4:57 AM

 1000111 & Research

Discussion
Can you please go to this link?
 
i have Open But Unable to acess
 
Please check now
 
 
12 hours later…
4:45 PM
Tomarrow you avi label
What time
So that I will give all table structure
If you will free then I will ask
 

last day (14 days later) »