05 2020 档案

摘要:(以下仅记录自己听秦路大佬七周成为数据分析师网课时做的笔记) 首先是sql的安装 官网下载:https://dev.mysql.com/downloads/windows/installer/5.7.html 虽然也没看出来24M和504M的差别,但是肯定是选择安装504M的那个啦哈哈,然后一路安装 阅读全文
posted @ 2020-05-31 21:39 猫山思 阅读(209) 评论(0) 推荐(0)
摘要:8-1消息: #8-1 def display_message(): print('本章学习函数') display_message() 8-2喜欢的图书: #8-2 def favorite_book(title): print('One of my favorite books is '+tit 阅读全文
posted @ 2020-05-29 21:24 猫山思 阅读(185) 评论(0) 推荐(0)
摘要:1.列出1962年首影的電影, [顯示 id, title] SELECT id,title FROM movie WHERE yr=1962 2.電影大國民 'Citizen Kane' 的首影年份。 select yr from movie where title='Citizen Kane' 阅读全文
posted @ 2020-05-27 18:19 猫山思 阅读(619) 评论(0) 推荐(0)
摘要:game(賽事) id(編號)mdate(日期)stadium(場館)team1(隊伍1)team2(隊伍2) 1001 8 June 2012 National Stadium, Warsaw POL GRE 1002 8 June 2012 Stadion Miejski (Wroclaw) R 阅读全文
posted @ 2020-05-27 11:24 猫山思 阅读(207) 评论(0) 推荐(0)
摘要:7-1汽车租赁: #7-1car = input('What kind of car would you like to rent: ') print('Let me see if I can find you a '+car) 7-2餐馆定位: #7-2message = input('请输入就餐 阅读全文
posted @ 2020-05-26 21:26 猫山思 阅读(138) 评论(0) 推荐(0)
摘要:此教程教我們在SELECT查詢中使用別一個SELECT查詢,進行一些更複雜的查詢。 name國家名continent洲份area面積population人口gdp國民生產總值 Afghanistan Asia 652230 25500100 20343000000 Albania Europe 28 阅读全文
posted @ 2020-05-24 10:37 猫山思 阅读(159) 评论(0) 推荐(0)
摘要:全球統計:群組函數 此教程是有關群組函數,例如COUNT, SUM 和 AVG。群組函數把多個數值運算,得出結果只有一個數值。例如SUM函數會把數值2,4,和5運算成結果11。 namecontinentareapopulationgdp Afghanistan Asia 652230 255001 阅读全文
posted @ 2020-05-24 07:48 猫山思 阅读(192) 评论(0) 推荐(0)
摘要:nobel yrsubjectwinner 1960 Chemistry Willard F. Libby 1960 Literature Saint-John Perse 1960 Medicine Sir Frank Macfarlane Burnet 1960 Medicine Peter M 阅读全文
posted @ 2020-05-22 09:35 猫山思 阅读(154) 评论(0) 推荐(0)
摘要:6-1人: #6-1 message ={'first_name':'wang','last_name':'xiaomao','age':24,'city':'shenzhen'} print(message['first_name'].title()+message['last_name']+' 阅读全文
posted @ 2020-05-21 14:32 猫山思 阅读(125) 评论(0) 推荐(0)
摘要:恢复内容开始 5-3外星人颜色#1: #5-3alien_color ='green' if alien_color =='green': print('Your get 5 points') #5-3alien_color ='yellow' if alien_color =='green': p 阅读全文
posted @ 2020-05-19 15:50 猫山思 阅读(199) 评论(0) 推荐(0)
摘要:namecontinentareapopulationgdp Afghanistan Asia 652230 25500100 20343000000 Albania Europe 28748 2831741 12960000000 Algeria Africa 2381741 37100000 1 阅读全文
posted @ 2020-05-19 07:51 猫山思 阅读(266) 评论(0) 推荐(0)
摘要:4-1比萨: 1 #4-1 2 pizzas = ['Pan Pizza','Thick style','Chicago Style'] 3 for pizza in pizzas: 4 print('I like '+pizza) 5 print('I really love pizza') 4- 阅读全文
posted @ 2020-05-07 07:34 猫山思 阅读(172) 评论(0) 推荐(0)
摘要:3-1姓名: 1 #3.1 2 names = ['张三','李四','王五'] 3 print(names[0]) 4 print(names[1]) 5 print(names[-1]) 3-2问候语: 1 #3.2 2 names = ['张三','李四','王五'] 3 for friend 阅读全文
posted @ 2020-05-05 11:07 猫山思 阅读(197) 评论(0) 推荐(0)
摘要:2-1简单消息: 1 #2-1 简单消息 2 mesage = 'Hello World' 3 print(mesage) 注意,将变量定义为那一串字符串,字符串是需要引号扩起的 2-2多条简单消息: #2-2 多条简单消息 mesage = 'Hello World' print(mesage) 阅读全文
posted @ 2020-05-01 09:30 猫山思 阅读(165) 评论(0) 推荐(0)