# SQL 기초 (Data Science & ML) > SELECT, WHERE, ORDER BY, GROUP BY, HAVING, 집계, 별칭, 간단한 서브쿼리 - 20 면접 질문 - Junior - [면접 질문: Data Science & ML](https://sharpskill.dev/ko/technologies/data-science/interview-questions.md) ## 1. 테이블에서 데이터를 가져오는 데 사용되는 SQL 문은 무엇입니까? **답변** SELECT 문은 관계형 데이터베이스에서 데이터를 읽기 위한 기본 명령입니다. 어떤 컬럼을 어떤 테이블에서 가져올지 지정할 수 있습니다. 모든 읽기 쿼리의 기초를 형성하므로 모든 개발자가 SQL에서 가장 먼저 배우는 문입니다. ## 2. 'users'라는 이름의 테이블에서 모든 컬럼을 선택하는 방법은 무엇입니까? **답변** 별표 문자(*)는 모든 컬럼을 의미하는 단축 표기입니다. SELECT * FROM users 구문은 테이블의 모든 컬럼을 반환합니다. 탐색에 편리하지만, 성능과 명확성을 위해 프로덕션에서는 컬럼을 명시적으로 지정하는 것이 권장됩니다. ## 3. SELECT 쿼리에서 반환되는 행을 필터링하는 데 사용되는 절은 무엇입니까? **답변** WHERE 절은 결과에 포함되기 위해 행이 충족해야 하는 조건을 지정할 수 있습니다. 모든 집계 전에 적용되며 비교 연산자(=, <, >, !=), 논리 연산자(AND, OR, NOT), 특수 술어(LIKE, IN, BETWEEN)를 허용합니다. ## 17개 추가 질문 이용 가능 - 텍스트 컬럼에서 패턴을 검색하는 데 사용되는 연산자는 무엇입니까? - 쿼리 결과를 컬럼에서 오름차순으로 정렬하는 방법은 무엇입니까? 무료로 가입하기: https://sharpskill.dev/ko/login ## 기타 Data Science & ML 면접 주제 - [Python 기초](https://sharpskill.dev/ko/technologies/data-science/interview-questions/python-basics.md): 25개 질문, Junior - [Python 객체 지향 프로그래밍](https://sharpskill.dev/ko/technologies/data-science/interview-questions/python-oop.md): 20개 질문, Junior - [Python 데이터 구조](https://sharpskill.dev/ko/technologies/data-science/interview-questions/python-data-structures.md): 20개 질문, Junior - [Git 기초](https://sharpskill.dev/ko/technologies/data-science/interview-questions/git-fundamentals.md): 18개 질문, Junior - [NumPy 기초](https://sharpskill.dev/ko/technologies/data-science/interview-questions/numpy-fundamentals.md): 22개 질문, Junior - [Pandas 기초](https://sharpskill.dev/ko/technologies/data-science/interview-questions/pandas-basics.md): 22개 질문, Junior - [Jupyter & Google Colab](https://sharpskill.dev/ko/technologies/data-science/interview-questions/jupyter-colab.md): 16개 질문, Junior - [SQL Joins 및 고급 쿼리](https://sharpskill.dev/ko/technologies/data-science/interview-questions/sql-joins-advanced.md): 22개 질문, Mid-Level - [Pandas 고급](https://sharpskill.dev/ko/technologies/data-science/interview-questions/pandas-advanced.md): 24개 질문, Mid-Level - [Matplotlib & Seaborn을 활용한 시각화](https://sharpskill.dev/ko/technologies/data-science/interview-questions/matplotlib-seaborn.md): 20개 질문, Mid-Level - [Plotly로 만드는 인터랙티브 시각화](https://sharpskill.dev/ko/technologies/data-science/interview-questions/plotly-interactive.md): 18개 질문, Mid-Level - [기술 통계](https://sharpskill.dev/ko/technologies/data-science/interview-questions/statistics-descriptive.md): 20개 질문, Mid-Level - [추론 통계학](https://sharpskill.dev/ko/technologies/data-science/interview-questions/statistics-inferential.md): 24개 질문, Mid-Level - [Web Scraping](https://sharpskill.dev/ko/technologies/data-science/interview-questions/web-scraping.md): 18개 질문, Mid-Level - [BigQuery & Cloud Data](https://sharpskill.dev/ko/technologies/data-science/interview-questions/bigquery-cloud.md): 18개 질문, Mid-Level - [Feature Engineering](https://sharpskill.dev/ko/technologies/data-science/interview-questions/feature-engineering.md): 22개 질문, Mid-Level - [지도 머신러닝: 회귀](https://sharpskill.dev/ko/technologies/data-science/interview-questions/ml-supervised-regression.md): 24개 질문, Mid-Level - [지도 머신러닝: 분류](https://sharpskill.dev/ko/technologies/data-science/interview-questions/ml-supervised-classification.md): 24개 질문, Mid-Level - [결정 트리 및 앙상블](https://sharpskill.dev/ko/technologies/data-science/interview-questions/ml-trees-ensembles.md): 24개 질문, Mid-Level - [비지도 ML](https://sharpskill.dev/ko/technologies/data-science/interview-questions/ml-unsupervised.md): 22개 질문, Mid-Level - [ML 파이프라인 및 검증](https://sharpskill.dev/ko/technologies/data-science/interview-questions/ml-pipelines-validation.md): 22개 질문, Mid-Level - [시계열 및 예측](https://sharpskill.dev/ko/technologies/data-science/interview-questions/time-series-forecasting.md): 22개 질문, Mid-Level - [Deep Learning 기초](https://sharpskill.dev/ko/technologies/data-science/interview-questions/deep-learning-fundamentals.md): 24개 질문, Senior - [TensorFlow & Keras](https://sharpskill.dev/ko/technologies/data-science/interview-questions/tensorflow-keras.md): 22개 질문, Senior - [CNN 및 이미지 분류](https://sharpskill.dev/ko/technologies/data-science/interview-questions/cnn-image-classification.md): 24개 질문, Senior - [RNN 및 시퀀스](https://sharpskill.dev/ko/technologies/data-science/interview-questions/rnn-sequences.md): 22개 질문, Senior - [Transformers 및 Attention](https://sharpskill.dev/ko/technologies/data-science/interview-questions/transformers-attention.md): 24개 질문, Senior - [NLP 및 Hugging Face](https://sharpskill.dev/ko/technologies/data-science/interview-questions/nlp-huggingface.md): 24개 질문, Senior - [GenAI 및 LangChain](https://sharpskill.dev/ko/technologies/data-science/interview-questions/genai-langchain.md): 24개 질문, Senior - [MLOps 및 배포](https://sharpskill.dev/ko/technologies/data-science/interview-questions/mlops-deployment.md): 24개 질문, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/technologies/data-science/interview-questions/sql-basics