MeetCode
Join Practice #34
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Run
Submit
Dark
Problem Statement
Solutions
Submissions
Join Practice #34
Easy
Programming Interview
DBMS
28 views
Explanation
Complexity
Problem Statement
Tables: A(id, val), B(id, val). Return ids present in both tables.
Input Format
SQL tables are described in the question.
Output Format
Write the SQL query.
Input / Output Format
Input Format
SQL tables are described in the question.
Output Format
Write the SQL query.
Example Solution (Public)
Programming Interview
SELECT a.id FROM A a INNER JOIN B b ON b.id=a.id;
Official Solution Code
Wrap
Copy
SELECT a.id FROM A a INNER JOIN B b ON b.id=a.id;
Please
login
to submit solutions.
Editor
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Test Cases
Output
Submission Result
Input
Expected Output
Compile Output
Error
Output
Please
login
to submit solutions.