Hello,
i need some help.
i have two tables(userticket and adminticketreply).
if user generate one ticket and admin put some reply on same ticket.
then how can i get number of rows from both the table on same ticketnumber.
both table contain ticketnumber column.
userticket
------------------------------------------
ticketnumber message
-----------------------------------------------
20 hello
21 miss u
22 hye
------------------------------------------------
means user generate a ticket with number 20 and send to admin and then admin see the ticket and
got the ticket number 20 automatically.and then he send reply to user.
adminticketreply
------------------------------------------
ticketnumber reply
-----------------------------------------------
20 welcome
20 i m urs
20 wanna meet
21 see yaa
22 byeeee
22 happy
20 time is coming
----------------------------------------------
then in both the table,the ticketnumber is 20.
i would like to add both the number rows in both the table on same ticketnumber.
Means the answer would come 5 after count the number of rows from both table on same ticket number 20.
so i want to know how to count both the rows from both the table.
i tried count with but not get exact number through it.