Advertisements
Advertisements
प्रश्न
Using the sports database containing two relations (TEAM, MATCH_DETAILS) and write the Query for the following:
Display the MatchID of matches played by Team 2 and not won by it.
एक पंक्ति में उत्तर
उत्तर
SELECT MatchID FROM MATCH_DETAILS WHERE SecondTeamScore < FirstTeamScore AND (FirstTeamID = 2 OR SecondTeamID = 2);
shaalaa.com
SQL for Data Query
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?