hii,
Supposer I have a Table Volunter and there are some name
Shalini Tiwari,Yogender Baroda,Nikhil which are in it
| Aarti, |
| Ankit, |
| Nipun, |
| Piyush, |
have to fetch the count(volunteer) from other table Tbl_lead.
If there is record in Tbl_lead then it will show if the name not found in Tbl_lead then it show 0 value. as below table mention. how to does so. with sql query. please help.
| Volunteer | Column1 |
|---|---|
| Aarti | 2 |
| Ankit | 3 |
| Arpit | 2 |
| Nikhil | 0 |
| Nipun | 1 |
| Piyush | 2 |
| Shalini Tiwari | 5 |
| Yogender Baroda | 0 |

Rafnas T PRank #280 · 8.8K reputationPosted Apr 27, 2017, 8:27 PM EDT
Thiyagarajan ERank #2,329 · 607 reputationPosted Apr 15, 2017, 4:40 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Apr 15, 2017, 5:29 AM EDT
Rathrola Prem KumarRank #307 · 8.2K reputationPosted Apr 27, 2017, 5:35 PM EDT
Dharmraj ThakurRank #577 · 4.2K reputationPosted Apr 27, 2017, 9:06 PM EDT
Karthi KeyanRank #1,926 · 762 reputationPosted Apr 27, 2017, 8:32 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts