first i select all data from staff table then every staff against data get from booking table and count all bookings but not give me correct record count....count record is only 2 and realy record in table is 4 you see it in above table plzzz any one guide me how can get correct count from this table tanx
in booking table booking id 1 and 2 for staff member 4 and booking id 3 and 4 for staff member 5, so total booking id is 4 but i count it return false result 2......i require 4 result from booking table