본문 바로가기

분류 전체보기

(138)
반응형
코딩서식 그대로 유지한채 복사/붙이기 - 사이트 https://colorscripter.com/ Color Scripter Simple & Flexible Syntax HighLighter colorscripter.com
Union / Case statement - SQL code (open) SELECT TOP (1000) [EmployeeID] ,[FirstName] ,[LastName] ,[Age] ,[Gender] FROM [SQL Tutorial].[dbo].[EmployeeDemographics] --Union select EmployeeID,FirstName,Age from [SQL Tutorial].dbo.EmployeeDemographics Union All select EmployeeID,JobTitle,Salary from [SQL Tutorial].dbo.EmployeeSalary order by EmployeeID --case statement select firstname, lastname, Age, (Case when Age = 38 then 'stanley' whe..
Create a table and Insert int - SQL code (Open) Create Table EmployeeDemographics (EmployeeID int, FirstName varchar(50), LastName varchar(50), Age int, Gender varchar(50) ) Create Table EmployeeSalary (EmployeeID int, JobTitle varchar(50), Salary int ) Table 3 Query: Create Table WarehouseEmployeeDemographics (EmployeeID int, FirstName varchar(50), LastName varchar(50), Age int, Gender varchar(50) ) Insert into EmployeeDemographics VALUES (1..
Python for beginner - basic functions - Code (open) variables Input conditional logic : ==/!=, if/elif/else, return Loop : while, for - break / continue Libraries/Modules - pi # Create variables red_bucket = "kevin" red_bucket = 10 # we don't need to input the type like strings, int...etc. #print(red_bucket) # Output = 10 // variables = last value print(type(red_bucket)) # Output = int del red_bucket # delet variables print (red_bucket) # Output ..
comment -Python (open) 1. # 으로 2.'''~~~~~~''' 여러 줄 3. 단축키(Shortcut)로 > (ctrl + / ) 해제시도 동일 https://codechacha.com/ko/python-comments-and-shortcut/ 파이썬 주석 처리, 단축키 소개 파이썬에서 코드들을 주석 처리하는 방법을 소개하며, 단축키를 소개합니다. `#`을 입력하고 그 다음 글자를 입력하면 해당 내용은 주석 처리됩니다. 따라서 프로그램을 실행될 때 주석으로 처 codechacha.com
2. Calculation Summary - Python (Open) print( "hi hi hi hi hi hi " ) # strings / space print( 3+ 5 ) #a space doesn't affect the result print( 5-3 ) # subtraction print( 3*5 ) # multiplication print( 3**5 ) # exponents print ( 3/5 ) # 0.6 division -float print( 3//5) # 0 integer print ( 3%5 ) # 3 the remainder print ( 5%3 ) # 2 the remainder OUTPUT L/Python text/HelloWorld.py" hi hi hi hi hi hi 8 2 15 243 0.6 0 3 2 PS C:\Users\user>​
Python 1. code directly in the Python terminal (open) Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 1+2 3 >>> print("hello world") hello world >>> exit()
git 설치하기 / installing Git Git : 카메라역할 Github : 저장소역할 git은 git사이트 들어가서 ->downloads ->해당 컴에 맞게 설치64bit https://git-scm.com/ Git git-scm.com Git is a version control system that helps keep track of changes made to files and directories. Like how some word processors today have a revision history feature, if you didn't like something you wrote, you can just go back to a previous version. First, grab the install program from ..