Notice
Recent Posts
Recent Comments
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Archives
Today
In Total
๊ด€๋ฆฌ ๋ฉ”๋‰ด

A Joyful AI Research Journey๐ŸŒณ๐Ÿ˜Š

[K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹] ํ•™์› ๊ฐ•์‚ฌ๋‹˜์˜ ํ”„๋กœ์ ํŠธ ๊ด€๋ จ ์•Œ๋ฆผ (์ถ”๊ฐ€์ค‘) ๋ณธ๋ฌธ

๐ŸŒณJob Search Resourcesโœจ/Green IT Institute Career Tips

[K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹] ํ•™์› ๊ฐ•์‚ฌ๋‹˜์˜ ํ”„๋กœ์ ํŠธ ๊ด€๋ จ ์•Œ๋ฆผ (์ถ”๊ฐ€์ค‘)

yjyuwisely 2023. 2. 23. 07:00

ํ•™์› ๊ฐ•์‚ฌ๋‹˜์˜ ์•Œ๋ฆผ 

Jsp include 

https://solbel.tistory.com/642

 

[javascript/api] ๊ตฌ๊ธ€ ์ง€๋„ API๋กœ ๊ตฌํ˜„ํ•˜๊ธฐ [ํŽŒ]

[javascript/api] ๊ตฌ๊ธ€ ์ง€๋„ API๋กœ ๊ตฌํ˜„ํ•˜๊ธฐ [ํŽŒ] ์•ˆ๋…•ํ•˜์„ธ์š”. S Writer์ž…๋‹ˆ๋‹ค. ํ™ˆํŽ˜์ด์ง€๋ฅผ ๋งŒ๋“ค๋‹ค๋ณด๋ฉด ํšŒ์‚ฌ์†Œ๊ฐœ์ค‘ ์•ฝ๋„์•ˆ๋‚ด ๋ฐ ์˜ค์‹œ๋Š” ๊ธธ์ด๋‚˜ ๋ฉ”์ธํŽ˜์ด์ง€์—์„œ ์œ„์น˜์•ˆ๋‚ด ๋“ฑ ๋‹ค์–‘ํ•œ ๋ถ„์•ผ์—์„œ ์ง€๋„๋ฅผ ํ™œ์šฉ

solbel.tistory.com


- ๋ฐ”๋กœ ๋ฐ˜์˜: ๋ธŒ๋ผ์šฐ์ € ์บ์‹œ ๋ฐ ์ฟ ํ‚ค ์‚ญ์ œํ•˜๊ธฐ
์บ์‹œ๋Š” ๋‹ค์Œ ๋ฐฉ๋ฌธ ์‹œ ํŽ˜์ด์ง€๋ฅผ ๋น ๋ฅด๊ฒŒ ์—ด ์ˆ˜ ์žˆ๋„๋ก ์ด๋ฏธ์ง€ ๋“ฑ ํŽ˜์ด์ง€์˜ ์ผ๋ถ€๋ฅผ ๊ธฐ์–ตํ•ฉ๋‹ˆ๋‹ค.
์ฟ ํ‚ค
๋Š” ๋‚ด๊ฐ€ ๋ฐฉ๋ฌธํ•˜๋Š” ์‚ฌ์ดํŠธ์—์„œ ๋งŒ๋“œ๋Š” ํŒŒ์ผ๋กœ, ์ธํ„ฐ๋„ท ์‚ฌ์šฉ ๊ธฐ๋ก์„ ์ €์žฅํ•˜์—ฌ ์ธํ„ฐ๋„ท์„ ๋” ์‰ฝ๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ด ์ค๋‹ˆ๋‹ค. 


230222 Wed 39th class

API ์ ์šฉ ์—ฐ์Šต ๋งŽ์ด ํ•˜๊ธฐ

์˜ˆ์‹œ) 
์œ ํŠœ๋ธŒ api
์˜ํ™” TMDB
๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ: ๊ณต๊ณต api ์ œ๊ณตํ•ด์คŒ 
https://www.data.go.kr/


2023.02.23 - [๐ŸŒณK-Digital Revision 2023โœจ/Python] - [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 40์ผ] 230223 Ch. 3 ๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด๋ฅผ ์œ„ํ•œ ํŒŒ์ด์ฌ ๊ธฐ์ดˆ ๋ฐฐ์šฐ๊ธฐ: 1. ํŒŒ์ด์ฌ ์‹œ์ž‘ํ•˜๊ธฐ, 2. ํŒŒ์ด์ฌ ์ž๋ฃŒํ˜•

์ž๋ฃŒํ˜•

Java
HashMap(ํ•ด์‰ฌ๋งต): Java HashMap is a class which is used to perform operations such as inserting, deleting and locating elements in a map. We create a map, where we pass two kinds of values which are 'key' and 'value'.

Javascript/jQuery
JSON(์ œ์ด์Šจ): JSON is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays.

Python
Dictionary(๋”•์…”๋„ˆ๋ฆฌ): Dictionaries are used to store data values in key:value pairs. A dictionary is a collection which is ordered, changeable and do not allow duplicates.

2023.03.15 - [๐ŸŒณK-Digital Revision 2023โœจ/SQL, MariaDB] - [53] 230315 [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 53์ผ] Ch 4. ๋ฐ์ดํ„ฐ์˜ ์ถ”๊ฐ€, ์‚ญ์ œ, ๊ฐฑ์‹ : 16๊ฐ• ํ–‰ ์ถ”๊ฐ€ํ•˜๊ธฐ - INSERT, 17๊ฐ• ์‚ญ์ œํ•˜๊ธฐ - DELETE, 18๊ฐ• ๋ฐ์ดํ„ฐ ๊ฐฑ์‹ ํ•˜๊ธฐ - UPDATE, 19๊ฐ• ๋ฌผ๋ฆฌ์‚ญ์ œ์™€ ๋…ผ๋ฆฌ์‚ญ์ œ

๋ฌผ๋ฆฌ์‚ญ์ œ์™€ ๋…ผ๋ฆฌ์‚ญ์ œ๋Š” ์ „์šฉ SQL ๋ช…๋ น์ด ๋”ฐ๋กœ ์กด์žฌํ•˜์ง€ ์•Š๋Š”๋‹ค. ์‹œ์Šคํ…œ ์„ค๊ณ„ ๋ถ„์•ผ์— ๊ด€ํ•œ ๊ฒƒ์œผ๋กœ ์‹œ์Šคํ…œ์„ ๊ตฌ์ถ•ํ•  ๋•Œ ์ž์ฃผ ์‚ฌ์šฉํ•˜๋Š” ๋ง์ด๋‹ค.

ํšŒ์›๊ฐ€์ž…                
member                
id password name address gender state   state  
abc 1234 ์ •์ž๋ฐ”     1   1 ํ˜„์žฌ ํšŒ์›
def 5678 ์ด์‹œ์ƒต     1 -> 2   2 ํƒˆํ‡ด(ํšŒ์›์ด ์ง์ ‘)
ghi 9876 ํ™๊ธธ๋™     1 -> 3   3 ํƒˆํ‡ด(๋ธ”๋ž™๋ฆฌ์ŠคํŠธ)

3๋ฒˆ ํšŒ์›์˜ ๊ฒฝ์šฐ ๋งˆ์น˜ ์‚ญ์ œ๊ฐ€ ๋œ ๊ฒƒ์ฒ˜๋Ÿผ ๋งŒ๋“ค์–ด์ค˜์•ผ ํ•œ๋‹ค.

ํƒˆํ‡ด ๋ฒ„ํŠผ์„ ๋ˆŒ๋ €์„ ๋•Œ(ํšŒ์›๊ฐ€์ž… ํ™”๋ฉด)

update member set state = 2 where id = 'def'

๋ธ”๋ž™๋ฆฌ์ŠคํŠธ๋ฒ„ํŠผ(๊ด€๋ฆฌ์ž ํ™”๋ฉด)

update member set state = 3 where id = 'ghi'

-> delete ํ•œ ๊ฑด ์•„๋‹Œ๋ฐ, delete ํ•œ ๊ฒƒ ์ฒ˜๋Ÿผ ๋ณด์—ฌ์ค€๋‹ค.

ํšŒ์›๋ชฉ๋ก๋ฆฌ์ŠคํŠธ

select * from member where state = 1

 

2023.03.15 - [๐ŸŒณK-Digital Revision 2023โœจ/SQL, MariaDB] - [53] 230315 [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 53์ผ] SQL Ch 4. ๋ฐ์ดํ„ฐ์˜ ์ถ”๊ฐ€, ์‚ญ์ œ, ๊ฐฑ์‹ : 16๊ฐ• ํ–‰ ์ถ”๊ฐ€ํ•˜๊ธฐ - INSERT, 17๊ฐ• ์‚ญ์ œํ•˜๊ธฐ - DELETE, 18๊ฐ• ๋ฐ์ดํ„ฐ ๊ฐฑ์‹ ํ•˜๊ธฐ - UPDATE, 19๊ฐ• ๋ฌผ๋ฆฌ์‚ญ์ œ์™€ ๋…ผ๋ฆฌ์‚ญ์ œ

์ธ๋ผ์ธ ๋ทฐ: FROM ์ ˆ์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์„œ๋ธŒ์ฟผ๋ฆฌ. ORDER BY๋ฅผ ์‚ฌ์šฉ ๊ฐ€๋Šฅ
๊ฒŒ์‹œํŒ ํŽ˜์ด์ง• ์ฒ˜๋ฆฌ ๋•Œ ์“ด๋‹ค.


2023.03.14 - [๐ŸŒณK-Digital Revision 2023โœจ/SQL, MariaDB] - [52] 230314 [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 52์ผ] SQL Ch 3. ์ •๋ ฌ๊ณผ ์—ฐ์‚ฐ: 9๊ฐ• ์ •๋ ฌ - ORDER BY, 10๊ฐ• ๋ณต์ˆ˜์˜ ์—ด์„ ์ง€์ •ํ•ด ์ •๋ ฌํ•˜๊ธฐ, 11๊ฐ• ๊ฒฐ๊ณผ ํ–‰ ์ œํ•œํ•˜๊ธฐ - LIMIT, 12๊ฐ• ์ˆ˜์น˜ ์—ฐ์‚ฐ, 13๊ฐ• ๋ฌธ์ž์—ด ์—ฐ์‚ฐ, 14๊ฐ• ๋‚ ์งœ ์—ฐ์‚ฐ, 15..

2023.03.16 - [๐ŸŒณK-Digital Revision 2023โœจ/SQL, MariaDB] - [53~54] 230315, 230316 [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 53~54์ผ] SQL Ch 5. ์ง‘๊ณ„์™€ ์„œ๋ธŒ์ฟผ๋ฆฌ: 23๊ฐ• ์„œ๋ธŒ์ฟผ๋ฆฌ, 24๊ฐ• ์ƒ๊ด€ ์„œ๋ธŒ์ฟผ๋ฆฌ

ROWNUM
๊ฒŒ์‹œํŒ ๋งŒ๋“ค ๋•Œ ์“ด๋‹ค.
๊ต์žฌ p. 111
p. 213


230317 Fri 

(๊ทธ๋ฃน)ํ”„๋กœ์ ํŠธ ํ•  ๋•Œ 
ํ…Œ์ด๋ธ”๋ช…์„ธ์„œ ๊ธฐ๋กํ•˜๊ธฐ (๊ด€๊ณ„ ์„ค์ •์— ๋Œ€ํ•œ ์ •๋ณด๊ฐ€ ์—†๋‹ค.)

๋ฌธ์„œํ™”์‹œํ‚จ๋‹ค. 

๊ด€๊ณ„ ์„ค์ •์„ ํ•˜๊ธฐ ์œ„ํ•œ ์ด๋ฏธ์ง€, ๊ทธ๋ž˜ํ”„ -> ํ…Œ์ด๋ธ” ๋ช…์„ธ์„œ

DB์„ค๊ณ„/DB๊ตฌํ˜„

์ด๋ฆ„ | ๋ฐ์ดํ„ฐํƒ€์ž… | ์„ค๋ช… | ๋น„๊ณ  

-> Questionlist Table
ํ…Œ์ด๋ธ” ID   ํ…Œ์ด๋ธ”๋ช…  
๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ช…  
ํ•œ๊ธ€ ์นผ๋Ÿผ๋ช… ์˜๋ฌธ ์นผ๋Ÿผ๋ช… ํƒ€์ž… ๊ธธ์ด PK ๊ตฌ๋ถ„ Not Null ๊ตฌ๋ถ„ ์—ฐ๊ด€ํ…Œ์ด๋ธ”
(์™ธ๋ž˜ํ‚ค)
             
             
             
             

์ด๋Ÿฐ์‹์œผ๋กœ ๋งŒ๋“ ๋‹ค.

ํ…Œ์ด๋ธ” ๋ช…์„ธ์„œ๋ฅผ ๋งŒ๋“ค๋•Œ ๊ธฐ์ค€
 
1. ํ…Œ์ด๋ธ”๋ช…์ด ์žˆ์–ด์•ผํ•œ๋‹ค.
2. ํ•„๋“œ๋ช…๊ณผ ํ•„๋“œ๊ฐ€ ๊ตฌ์„ฑํ•˜๊ณ ์žˆ๋Š” ๋‚ด์šฉ์ด ๋ฌด์—‡์ธ์ง€ ๋‚˜์™€์žˆ์–ด์•ผํ•œ๋‹ค.
3. ํ•„๋“œ์˜ ๋ฐ์ดํ„ฐํƒ€์ž…์„ ํ‘œ์‹œํ•œ๋‹ค.
4. ์‚ฌ์šฉ์ค‘์ธ์ง€ ์•„๋‹Œ์ง€ ์—ฌ๋ถ€๋ฅผ ํ‘œ์‹œํ•œ๋‹ค.
5. ๊ธฐ๋ณธ๊ฐ’์ด ๋ฌด์—‡์ธ์ง€ ํ‘œ์‹œํ•œ๋‹ค.
6. ํ…Œ์ด๋ธ”์ด ๋งŒ๋“ค์–ด์ง„ ๋ชฉ์ ์ด ๋ฌด์—‡์ธ์ง€ ์•Œ ์ˆ˜ ์žˆ์–ด์•ผํ•œ๋‹ค.
7. ํŠน์ด์‚ฌํ•ญ๋“ฑ์„ ์ ๋Š”๋‹ค. (db์—”์ง„, unsigned์‚ฌ์šฉ์—ฌ๋ถ€, auto_increment ๋“ฑ)

์ฐธ๊ณ : https://minbbal.tistory.com/18


230410

๋‹ค์Œ์ฃผ์—๋Š” ์•„๋ž˜ ๋‚ด์šฉ์„ ์„ค๋ช…ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ฏธ๋ฆฌ ํ•œ๋ฒˆ ์ฝ์–ด๋ณด์„ธ์š”~
๋™๊ธฐ์‹ vs ๋น„๋™๊ธฐ์‹
https://dev-coco.tistory.com/46
https://sudo-minz.tistory.com/21

ajax
https://azderica.github.io/00-javascript-ajax/


728x90
๋ฐ˜์‘ํ˜•
Comments