Skip to content
Advertisement

Tag: sql

How to get common value based on a column from a table sql

I have a table. the screenshot is given bellow: There have two columns item_details_id pay_method_id In item_details_id there have 1,2,1 data. On the other hand pay_method_id have 1,1,3 data. I want to get only common values of pay_method_id depending on item_details_id. According to the given screenshot- in item_details_id I have ‘1’ & ‘2’ value. —– ‘1’ pay_method_id is ‘1’, ‘3’

Did this SQL update statement delete records? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I ran an update statement like this, last night. where it is joining local data Table_V2 with data on another

Advertisement