mysql - Get multiple rows in a single query -


<पूर्व> | User_id | नाम | =================== | 1 | मार्क | | 2 | पॉल | | 3 | ग्लेन | | 4 | काइल | | 5 | जैक | | 6 | केन | | 7 | राफ |

मेरे पास ऊपर दिखाए गए एक नमूना तालिका है मैं केवल एक ही क्वेरी में उपयोगकर्ता आईडी 1,2 और 5 की पंक्ति को प्राप्त करना चाहता हूं।

क्या आप लोग मुझे बता सकते हैं कि क्वेरी क्या है?

इसे आज़माएं

  SELECT * FROM tablename जहां user_id IN (1,2,5);   

यहां छवि विवरण दर्ज करें

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -