🔒 Closed Pa help po sa codes using c#and mysql

Status
Not open for further replies.
Salamat boss my sample codes ka
Hindi ko alam structure ng DB mo pero ang kailangan mo lang eh SELECT query.

Select mo sa DB mo yung item using name o id ilagay mo sa variable tapos minus mo.
Ano nagawa o progress mo? Pakita mo para maguide kita.
 
Boss ito po yung 1st tbl SELECT COUNT(inv_ItemCode) FROM fc_inventory, fc_cashier WHERE csh_ItemCode = inv_ItemCode GROUP BY csh_ItemCode , inv_ItemCode

2nd tbl SELECT COUNT(csh_ItemCode) FROM fc_cashier GROUP BY csh_ItemCode

Yan naman po yung error

received_702363350109791.png
 
sa code (c#) ka mas madaling makakapagsubtract kesa sa script(sql). sa script fetch ka lang ng fetch. sa code ka maglologic
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 870
    Views
  • 4
    Participants
Last reply from:
fazz12

Trending Topics

Online now

Members online
1,177
Guests online
1,328
Total visitors
2,505

Forum statistics

Threads
2,293,038
Posts
29,081,134
Members
1,208,635
Latest member
xLara
Back
Top