<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shadowlight123的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shadowlight123</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shadowlight123]]></copyright><item><title><![CDATA[SQL substr函数的使用]]></title><link>https://blog.youkuaiyun.com/shadowlight123/article/details/105154901</link><guid>https://blog.youkuaiyun.com/shadowlight123/article/details/105154901</guid><author>shadowlight123</author><pubDate>Sat, 28 Mar 2020 02:57:58 +0800</pubDate><description><![CDATA[获取Employees中的first_name

题目描述

获取Employees中的first_name，查询按照first_name最后两个字母，按照升序进行排列
CREATE TABLE `employees` (
`emp_no` int(11) NOT NULL,
`birth_date` date NOT NULL,
`first_name` varchar(14) NOT NULL...]]></description><category></category></item><item><title><![CDATA[MySQL、SQLlite、Oracle强制索引查询使用]]></title><link>https://blog.youkuaiyun.com/shadowlight123/article/details/105150656</link><guid>https://blog.youkuaiyun.com/shadowlight123/article/details/105150656</guid><author>shadowlight123</author><pubDate>Fri, 27 Mar 2020 21:35:49 +0800</pubDate><description><![CDATA[创建索引


CREATE INDEX idx_emp_no ON salaries(emp_no);

索引名：idx_emp_no

索引的表：salaries

索引的列：emp_no

MySQL中

FORCE INDEX idx_emp_no


SELECT * 

FROM salaries FORCE INDEX idx_emp_no 

WHERE emp_no =1000...]]></description><category></category></item><item><title><![CDATA[MySQL存储过程]]></title><link>https://blog.youkuaiyun.com/shadowlight123/article/details/105132897</link><guid>https://blog.youkuaiyun.com/shadowlight123/article/details/105132897</guid><author>shadowlight123</author><pubDate>Fri, 27 Mar 2020 15:12:52 +0800</pubDate><description><![CDATA[MySQL存储过程
1.定义
为以后的使用而保存的一条或多条MySQL语句的集合。

2.优点
（1）简单：通过把处理封装在容易使用的单元中，简化复杂的操作。
（2）安全：由于不要求反复建立一系列处理步骤，这保证了数据的完整性；简化对变动的管理。
（3）高性能：使用存储过程比使用单独的SQL语句要快。
3.缺点
（1）复杂：一般来说，存储过程的编写比基本SQL语句复杂，编写存储过程需要更高的技能，...]]></description><category></category></item><item><title><![CDATA[mac下httpd: Could not reliably determine the server's fully qualified domain name, using]]></title><link>https://blog.youkuaiyun.com/shadowlight123/article/details/104884179</link><guid>https://blog.youkuaiyun.com/shadowlight123/article/details/104884179</guid><author>shadowlight123</author><pubDate>Sun, 15 Mar 2020 19:33:26 +0800</pubDate><description><![CDATA[mac下出现httpd: Could not reliably determine the server's fully qualified domain name, using MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message的错误



然后按网上的方法改httpd.conf文...]]></description><category></category></item><item><title><![CDATA[【最短路径问题】关系网络 Python进行深度优先、广度优先两种方法求解]]></title><link>https://blog.youkuaiyun.com/shadowlight123/article/details/100850441</link><guid>https://blog.youkuaiyun.com/shadowlight123/article/details/100850441</guid><author>shadowlight123</author><pubDate>Sun, 15 Sep 2019 11:46:33 +0800</pubDate><description><![CDATA[【题目】关系网络

有n个人，他们的编号为1~n，其中有一些人相互认识，现在x想要认识y，可以通过他所认识的人来认识更多的人。

例如：如果a认识b、b认识c，那么a可以通过b来认识c

求出x最少需要通过多少人才能认识y？

【输入格式】

第一行三个整数n、x、y，接下来一个n×n的邻接矩阵，a[i,j]=1表示i认识j，0表示不认识。保证i=j时,a[i,j]=0,并且a[i,j]=a[j,...]]></description><category></category></item></channel></rss>