Skip to content

[4주차] 백제완 #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 6, 2024
Prev Previous commit
Next Next commit
백제완: [SQL] 부모의 형질을 모두 가지는 대장균 찾기_241001
  • Loading branch information
jewan100 committed Oct 1, 2024
commit 0d7b2c4d3a4da875f9ce5444c655dc958246a27e
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SELECT
C.ID,
C.GENOTYPE,
P.GENOTYPE PARENT_GENOTYPE
FROM
ECOLI_DATA C
INNER JOIN ECOLI_DATA P
ON C.PARENT_ID = P.ID
WHERE
C.GENOTYPE & P.GENOTYPE = P.GENOTYPE
ORDER BY
C.ID