🔒 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
  • 856
    Views
  • 4
    Participants
Last reply from:
fazz12

Trending Topics

Online now

Members online
352
Guests online
942
Total visitors
1,294

Forum statistics

Threads
2,268,892
Posts
28,925,017
Members
1,243,142
Latest member
Umzi
Back
Top