Chanho

[SQL] ๊ทธ๋ฃน์œผ๋กœ ๋ฌถ๊ธฐ _ GROUP BY

GROUP BY SQL์—์„œ ๊ทธ๋ฃน์œผ๋กœ ๋ฌถ๊ธฐ ์œ„ํ•ด์„œ๋Š” GROUP BY์ ˆ์„ ์‚ฌ์šฉํ•ด์„œ ๊ฒฐ๊ณผ ์ง‘ํ•ฉ์„ ํŠน์ • ์—ด์˜ ๊ฐ’์— ๋”ฐ๋ผ ๊ทธ๋ฃน์œผ๋กœ ๋ถ„ํ•  ํ•  ์ˆ˜ ์žˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, โ€˜SUM(), AVG(), COUNT()โ€™๋“ฑ์˜ ์ง‘๊ณ„ ํ•จ์ˆ˜์™€ ํ•จ๊ป˜ ์‚ฌ์šฉ๋˜๋ฉฐ, ์ด๋Ÿฌํ•œ ์ง‘๊ณ„ํ•จ์ˆ˜๋Š” ๊ฐ ๊ทธ๋ฃน์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•œ๋‹ค. ์ง‘๊ณ„ ํ•จ์ˆ˜ ์ง‘๊ณ„ ํ•จ์ˆ˜(Aggregate Function...

[SQL] SELECT๋ฌธ ๊ธฐ์ดˆ

SELECT ๋ฌธ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์กฐํšŒํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋˜๋Š” ๊ธฐ๋ณธ์ ์ธ ๋ช…๋ น์–ด์ด๋‹ค. โ€˜SELECTโ€™๋ฌธ์„ ์‚ฌ์šฉํ•˜์—ฌ ํŠน์ • ํ…Œ์ด๋ธ”์—์„œ ์›ํ•˜๋Š” ์—ด(Colum)์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์„ ํƒํ•˜๊ณ  ์กฐํšŒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. SELECT column1, column2, ... FROM ํ…Œ์ด๋ธ”๋ช… WHERE ์กฐ๊ฑด; SELECT: ์ด ํ‚ค์›Œ๋“œ ๋‹ค์Œ์—๋Š” ์กฐํšŒํ•˜๊ณ ์ž ํ•˜๋Š” ์—ด...

[Spring] ์Šคํ”„๋ง ํŠน์ง•_ ๋Š์Šจํ•œ ๊ฒฐํ•ฉ ๊ณผ Bean ๊ทธ๋ฆฌ๊ณ  IoC ์ปจํ…Œ์ด๋„ˆ

Spring Framework์˜ ์ฃผ์š” ํŠน์ง• ์ค‘ ๋Š์Šจํ•œ ๊ฒฐํ•ฉ(Loose Coupling)๊ณผ ์Šคํ”„๋ง ๋นˆ(Spring Bean) IoC Container์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ณ ์ž ํ•œ๋‹ค. 1. ์Šคํ”„๋ง์—์„œ ๋Š์Šจํ•œ ๊ฒฐํ•ฉ(Loose Coupling) ์ด๋ž€? ์Šคํ”„๋ง์€ ๋Š์Šจํ•œ ๊ฒฐํ•ฉ์„ ์ด‰์ง„ํ•œ๋‹ค. ๋Š์Šจํ•œ ๊ฒฐํ•ฉ์€ ์„œ๋กœ ๋‹ค๋ฅธ ํด๋ž˜์Šค ๊ฐ„์˜ ์˜์กด์„ฑ์„ ์ตœ์†Œํ™”ํ•˜๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•œ๋‹ค....

[HTML] ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ํƒœ๊ทธ ์ •๋ฆฌ

์˜ค๋Š˜์€ HTML(HyperText Markup Language)์˜ ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ํƒœ๊ทธ ๋“ค์— ๋Œ€ํ•ด ์ •๋ฆฌํ•˜๊ณ ์žํ•œ๋‹ค. Semantic Tag 1. <header> ํŽ˜์ด์ง€์˜ ๋จธ๋ฆฌ๊ธ€ ๋ถ€๋ถ„, ๋กœ๊ณ , ๋„ค์ด๊ฒŒ์ด์…˜ ๋งํฌ, ์ œ๋ชฉ ๋“ฑ์„ ํฌํ•จํ•œ๋‹ค. 2. <footer> ํŽ˜์ด์ง€ ๋ฐ”๋‹ฅ๊ธ€ ๋ถ€๋ถ„์œผ๋กœ ์ €์ž ์ •๋ณด, ์ €์ž‘๊ถŒ ์ •๋ณด, ์—ฐ๋ฝ...

[HTML] HTML ์ด๋ž€?

HTML ๊ธฐ์ดˆ HTML์˜ ์—ญ์‚ฌ์™€ ๋ฐœ์ „ HTML(Hypertext Markup Language) ์ด๋ž€ ์›นํŽ˜์ด์ง€๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ํ‘œ์ค€ ๋งˆํฌ์—… ์–ธ์–ด์ด๋‹ค. ์ด ์–ธ์–ด๋Š” โ€œTim Berners-Leeโ€๋Š” CERN์—์„œ ์ •๋ณด ๊ณต์œ ๋ฅผ ์šฉ์ดํ•˜๊ฒŒ ํ•˜๊ธฐ ์œ„ํ•ด HTML์„ ๊ฐœ๋ฐœํ•˜๊ธฐ ์‹œ์ž‘ํ–ˆ๋‹ค. ์ดˆ๊ธฐ ๋ฒ„์ „์€ ์ƒ๋‹นํžˆ ๊ฐ„๋‹จํ•œ ๊ตฌ์กฐ๋กœ ํ•˜์ดํผ๋งํฌ์™€ ๊ธฐ๋ณธ์ ์ธ ๋ฌธ์„œ ๊ตฌ์กฐ๋งŒ์„ ์ •์˜ํ•˜๋Š”๋ฐ ์ค‘...

ยฉ chanho. Some rights reserved.