JackieMe
JackieMe
## SQL Topic: Subqueries 子查询 You might have noticed that even with a complete query, there are many questions that we can't answer about our data without additional post, or...
## SQL Lesson 13: Inserting rows 第 13 课,添加行 We've spent quite a few lessons on how to query for data in a database, so it's time to start learning...
继续上课。 ## SQL Lesson 9: Queries with expressions 第 9 课,表达式查询。 In addition to querying and referencing raw column data with SQL, you can also use expressions to write more...
 昨天看了大火的《工作细胞》,挺有趣的。血小板太可爱了! 然后睡觉前看了一下 Todo list:  任重而道远啊,后面的课程还多着呢。继续继续—— ## SQL Lesson 6: Multi-table queries with JOINs 第六课,JOINs 多表格查询 Up to now, we've been working with a single table, but entity data...
终究还是要回来好好补课,看文档太无聊。看网上很多人都推荐 [SQLBolt](https://sqlbolt.com/) 这个在线网站学习课程,所以今天就打算来看这个了。  整个课程包括介绍 + 18 节课 + 结束课程。网站不需要注册,每节课包括简单地知识点介绍和练习题。做练习题时有实时命令错误提示和结果预览,只有答对才能继续下一题。实在不会做也有 Solution 放在旁边,非常好。 好的,开始吧。 ## Introduction to SQL Welcome to SQLBolt, a series of interactive lessons and exercises designed to help...
接触 MIMIC 数据库一小阵,勉强一边 Google 一边看 `mimic-code` 提供的脚本搞定了本地数据库并且把所有提供的 concepts 都建立好了。 过程中 R 配合 `RPostgreSQL`来连接和操作数据已经相对很容易了,然后还 `tidyverse` 强大的管道 + 数据清洗功能,但是每每涉及到要去看数据 `mimic-code` 没有提供的数据的时候都对数据库操作力不从心。 所以说落下的课终究是要补的,天道好轮回,苍天饶过谁。 ## 1. 一些基础概念 `postgreSQL` ,或者说数据库,有个很重要的概念就是 Schema(模式)和 View(视图)、Materialized View(物化视图)。 ### Schema,模式...
 SQL 算是学完了,结果回去看 mimic-code 发现大多数脚本根本看不懂!想起来小学做数学习题: > > - **课本例题**: 小明有 3 个苹果,吃了 1 个,请问小明还有几个苹果 ? > > ---- > > - **课后习题**:小华前天买了 5 个橘子,昨天吃了 1 个梨,请问小红今天还剩下几个苹果? > > ---...
``` 2018-02-28 ```  通过上次那个 Rtudio 输入法的事情 #12 ,我越来越觉得编译啊共享库啊什么的很有趣,然后我懂的太少。所以补课看了一些东西,这一篇我觉得很基础,也很有启发性。把这篇和之前的 #6 #7 #12 一起看理解下很重要。 下文原文来自博客园上的一篇博文 [在 Linux 使用 GCC 编译C语言共享库](http://www.cnblogs.com/ifantastic/p/3526237.html#undefined),有删改。 这是一篇很基础的博文,通过一个小例子说明 Linux 下共享库的创建和使用。明白这些对于软件的编译会有很多帮助。 正式开始前,我们先看看源代码到运行程序之间发生了什么: 1. 预处理:这个阶段处理所有预处理指令。基本上就是源代码中所有以 ‘#’ 开始的行,例如 `#define`...
``` 2017-12-21 ``` 今天看 Hadley Wickham 大大的《[R for Data Science](http://r4ds.had.co.nz/)》的时候无意踩坑了,记录一下。 看到章节 **4. Workflow: basics** 的 **4.4** 节做练习的时候,本来这一章十分简单,5 分钟看完的,练习也简单,基本上就是拼写错误啥的。然后第二题: >Tweak each of the following R commands so that they run correctly:...
~~~ 2017-06-25 15:20:06 ~~~ ## 设置各种元素的颜色 Setting colors for text elements: axis annotations, labels, plot titles, and legends ```R plot(rnorm(100), main="Plot Title", col.axis="blue", col.lab="red", col.main="darkblue", col='darkgreen') ``` 得到下图:  R...