学习sql注入:猜测数据库_对于SQL的热爱:为什么要学习它以及它将如何帮助您...
学习sql注入:猜测数据库
I recently read a great article by the esteemed @craigkerstiens describing why he feels SQL is such a valuable skill for developers. This topic really resonated with me. It lined up well with notes I’d already started sketching out for a similar article about developing a love for data.
我最近读了一篇受人尊敬的@craigkerstiens撰写 的精彩文章 ,描述了他为什么认为SQL对开发人员如此宝贵的技能。 这个话题真的引起了我的共鸣。 它与我已经开始草拟的有关发展对数据的热爱的类似文章的注释很好地结合在一起。
The more I fleshed out my topic, however, the more I realized that many of my points and examples seemed to be centering around SQL. Reading Craig’s article convinced me to redirect my focus and talk more about why I personally have such an affinity for SQL.
但是,我越是充实自己的主题,我就越意识到我的许多观点和示例似乎都围绕SQL展开。 阅读Craig的文章说服了我重定向我的注意力,并更多地讨论了为什么我个人对SQL具有如此的亲和力。
In short, Craig makes the following assertions about SQL (and I quote):
简而言之,Craig对SQL提出以下断言(我引用):
1. It is valuable across different roles and disciplines
1.它在不同的角色和学科中都很有价值
2. Learning it once doesn’t really require re-learning
2.学习一次并不需要重新学习
3. You seem like a superhero. You seem extra powerful when you know it because of the amount of people that aren’t fluent
3.你看起来像个超级英雄。 当您知道它的时候,您似乎会变得更加强大,因为他们不流利
I’ve found all these points to be true in my own experience, and I’d like to recast and expand on each one.
根据我自己的经验,我发现所有这些要点都是正确的,并且我想在每个方面重铸和扩展。
多功能效应 (The Versatility Effect)
The SQL skillset has proven to be an extremely valuable asset in my career. In fact, I believe SQL to be the single most powerful and versatile “programming” language I know.
在我的职业生涯中,SQL技能已被证明是极其宝贵的资产。 实际上,我相信SQL是我所知道的最强大,功能最多的“编程”语言。
I have been able to use SQL to solve many problems, and it’s my go-to tool anytime I face a new challenge. In fact, I keep an instance of PostgreSQL running on my laptop so I can quickly hop into my favorite SQL GUI whenever I need to test something out.
我已经能够使用SQL解决许多问题,并且当我面临新挑战时,它就是我的首选工具。 实际上,我在笔记本电脑上运行着一个PostgreSQL实例,因此无论何时需要进行测试,我都可以快速跳入我最喜欢SQL GUI 。
Here are just some of the cool things I’ve been able to do with SQL:
以下是我使用SQL可以完成的一些很棒的事情:
Are you having a hard time believing that list above? I promise you there’s not an ounce of exaggeration in it. Now, are there some items there that were dependent upon other capabilities of the RDBMS I was using at the time? Sure. Regardless, each of those solutions was implemented in SQL.
您很难相信上面的清单吗? 我保证你没有一点夸张。 现在,是否有某些项目取决于我当时使用的RDBMS的其他功能? 当然。 无论如何,这些解决方案中的每一个都是用SQL实现的。
自行车效果 (The Bicycle Effect)
While Structured Query Language has certainly undergone changes and has been expanded over the years, I agree with Craig that the fundamentals have not changed. The overall level of volatility compared to other languages has been relatively low.
尽管结构化查询语言肯定已经发生了变化并且在过去的几年中得到了扩展,但我同意Craig的基本观点没有改变。 与其他语言相比,总体波动率较低。
I would argue that this fact only strengthens the argument that one should invest the time to learn SQL. You can be confident that you’ll get a lot of mileage out of such an investment without having to look up the latest conventions the next time you need to use it.
我认为这一事实只会使人们认为应该花时间学习SQL的论点更加强烈。 您可以确信,这样的投资将使您受益匪浅,而无需在下次使用时查看最新的约定。
So, learn SQL! Here are some great places to get started:
因此,学习SQL! 这是一些入门的好地方:
SQL Tutorial — Essential SQL For The BeginnersThis SQL tutorial helps you get started with SQL quickly and effectively through many practical examples. After the…www.sqltutorial.org
SQL教程-初学者必备SQL 该SQL教程通过许多实际示例帮助您快速有效地开始使用SQL。 之后... www.sqltutorial.org
There are even interactive tutorials:
甚至还有互动教程:
SQLBolt — Learn SQL — Introduction to SQLSQLBolt provides a set of interactive lessons and exercises to help you learn SQLsqlbolt.com
SQLBolt —学习SQL — SQL简介 SQLBolt提供了一组交互式课程和练习,以帮助您学习SQL sqlbolt.com
There are also some versatile sandboxes out there that allow you to run SQL in various dialects without having to install anything. For example, SQL Fiddle:
还有一些通用的沙箱,可让您以各种方言运行SQL,而无需安装任何工具。 例如, SQL Fiddle :
Or, DB Fiddle:
或者, DB Fiddle :
超级英雄效应 (The Superhero Effect)
I remember a colleague once saying he broke into a cold sweat every time he had to write SQL. ?
我记得一位同事曾经说过,每次必须编写SQL时,他都流口水。 ?
It sounds exaggerated, but SQL can be intimidating to anyone who properly regards the database as the sensitive asset it is and is not familiar with how to safely interact with it. SQL, being one of the adults in the room, also doesn’t get as much attention as other shiny new programming languages. That means that it remains a less common skillset among contemporary and emerging developers.
听起来有些夸张,但对于任何适当地将数据库视为数据库的敏感资产并且不熟悉如何安全地与数据库交互的人来说,SQL都会使他们感到恐惧。 作为会议室中的成年人之一,SQL并没有像其他崭新的编程语言那样受到广泛关注。 这意味着它在当代和新兴开发人员中仍然不那么普遍。
As such, having a solid understanding of SQL and the insight to see the set-based facets of a given problem or challenge provides the opportunity to be a hero.
因此,对SQL有扎实的理解,并能洞悉给定问题或挑战的基于集合的方面,这为成为英雄提供了机会。
One of my favorite personal experiences was helping a customer debug a slow and complex SAS program. The goal of this program was to extract a list of state transitions from an audit table in order to measure the mean duration a widget spent in each phase of a given business workflow. The implementation of these calculations was complex and required building multiple local data sets.
我最喜欢的个人经历之一是帮助客户调试缓慢而复杂的SAS程序。 该程序的目标是从审计表中提取状态转换列表,以测量小部件在给定业务工作流程的每个阶段花费的平均时间。 这些计算的实现很复杂,需要构建多个本地数据集。
I remember reverse engineering this program and realizing that I could solve the problem much more easily using a single SQL query and the magical LAG window function.
我记得对该程序进行了逆向工程,并意识到我可以使用单个SQL查询和神奇的LAG窗口函数来更轻松地解决问题。
The customer was simply blown away.
顾客简直被吹走了。
Not just because he learned about the LAG function, but because he saw just how powerful SQL can be.
不仅因为他了解了LAG函数,还因为他了解了SQL的强大功能。
An even more dramatic example was during a large data warehouse migration where I replaced an entire Java program (that took more than 20 minutes to complete!) with a single SQL query that ran in seconds. The original author of the program was shocked! That was a really good day. ?
一个更引人注目的示例是在大型数据仓库迁移期间,我用一个运行了几秒钟SQL查询替换了整个Java程序(完成耗时超过20分钟!)。 该程序的原始作者感到震惊! 那真是美好的一天。 ?
So, I encourage you to dive into SQL today and broaden your skillset with one of the most versatile tools I’ve had the pleasure of working with. If you already know SQL and agree, or if I’ve convinced you to give it a try, please consider leaving me a comment.
因此,我鼓励您立即学习SQL,并使用我最喜欢使用的最通用的工具之一来扩展您的技能。 如果您已经了解SQL并表示同意,或者如果我说服您尝试一下,请考虑给我评论。
翻译自: https://www.freecodecamp.org/news/for-the-love-of-sql-why-you-should-learn-it-and-how-itll-help-you-out-22fe307a253/
学习sql注入:猜测数据库
相关文章:

C++入门经典-例6.14-通过指针连接两个字符数组
1:字符数组是一个一维数组,引用字符数组的指针为字符指针,字符指针就是指向字符型内存空间的指针变量。 char *p; char *string"www.mingri.book"; 2:实例,通过指针连接两个字符数组,代码如下&am…

创建一个没有边框的并添加自定义文字的UISegmentedControl
//个性推荐 歌单 主播电台 排行榜NSArray* promoteArray["个性推荐","歌单","主播电台","排行榜"];UISegmentedControl* promoteSgement[[UISegmentedControl alloc]initWithItems:promoteArray];promoteSgement.frameCGRectMake(0, 6…

样式集(一) 通用商品列表样式
上图: 上代码: // pages/choosePackage/choosePackage.js Page({data: {list:[1,2,3],},onLoad: function (options) {},nav_upInfo(){wx.navigateTo({url: ../upInfo/upInfo,})}, }) <!--pages/choosePackage/choosePackage.wxml--> <view c…

2019 6月编程语言_今年六月您可以开始学习650项免费的在线编程和计算机科学课程...
2019 6月编程语言Seven years ago, universities like MIT and Stanford first opened up free online courses to the public. Today, more than 900 schools around the world have created thousands of free online courses, popularly known as Massive Open Online Cours…

mybatis分页练手
最近碰到个需求,要做个透明的mybatis分页功能,描述如下:目标:搜索列表的Controller action要和原先保持一样,并且返回的json需要有分页信息,如: ResponseBody RequestMapping(value"/searc…

样式集(二) 信息填写样式模板
上图: 代码: // pages/upInfo/upInfo.js Page({data: {tipsTxt: "请填写正确的业务流水号",showTips: false,showCityList:false,city:"",cityList:["济南市","青岛市","枣庄市","东营市"…

12小时进制的时间输出的编辑代码
关于时间输出的编辑代码个人思考了很久,包括顺序,进位之类的,求完善和纠错 public class yunsuanfu {public static void main(String[] arg){double t2;int h38;int m100;int s100;if(s>60){m(s/60)m;ss%60;}if (m>60){h(m/60)h;mm%6…

c++每调用一次函数+1_每个开发人员都应该知道的一些很棒的现代C ++功能
c每调用一次函数1As a language, C has evolved a lot.作为一种语言,C 已经发展了很多。 Of course this did not happen overnight. There was a time when C lacked dynamism. It was difficult to be fond of the language.当然,这并非一overnight而…

Linux ISCSI配置
一、简介 iSCSI(internet SCSI)技术由IBM公司研究开发,是一个供硬件设备使用的、可以在IP协议的上层运行的SCSI指令集,这种指令集合可以实现在IP网络上运行SCSI协议,使其能够在诸如高速千兆以太网上进行路由选择。iSCS…

样式集(三)成功页面样式模板
上图: 代码: <!--pages/result/result.wxml--> <view><image class"scc" src"/img/scc.png"></image><view class"resuil">办理成功</view> </view> <view class"btn…

C#中Request.servervariables参数
整理一下,我在asp.net下遍历的Request.servervariables这上集合,得出的所有参数如下: : Request.ServerVariables["ALL_HTTP"] 客户端发送的http所有报头信息 返回例:HTTP_CACHE_CONTROL:max-age0 HTT…

打开浏览器的包 node_如何发布可在浏览器和Node中使用的软件包
打开浏览器的包 nodeWhen you create a package for others to use, you have to consider where your user will use your package. Will they use it in a browser-based environment (or frontend JavaScript)? Will they use it in Node (or backend JavaScript)? Or bot…

存储过程中SELECT与SET对变量赋值
Create proc insert_bookparam1char(10),param2varchar(20),param3money,param4moneyoutputwith encryption---------加密asinsert into book(编号,书名,价格)Values(param1,param2,param3)select param4sum(价格) from bookgo执行例子:declare total_price moneyex…

AngularJs $resource 高大上的数据交互
$resource 创建一个resource对象的工厂函数,可以让你安全的和RESFUL服务端进行数据交互。 需要注入 ngResource 模块。angular-resource[.min].js 默认情况下,末尾斜杠(可以引起后端服务器不期望出现的行为)将从计算后的URL中剥离…

样式集(四)搜索框样式
上图: 代码: // pages/search/search.js var textPage({data: {input_val:"",list:[]},input_p(e){this.setData({input_val:e.detail.value})},onLoad: function (options) {}, }) <view classpage_row bindtap"suo"><vi…

初步了解React Native的新组件库firstBorn
first-born is a React Native UI Component Framework, which follows the design methodology Atomic Design by Brad Frost.first-born是React Native UI组件框架,它遵循Brad Frost的设计方法Atomic Design 。 Version 1.0.0 was recently published as an npm …

less里面calc() 语法
转载 Less的好处不用说大家都知道,确实让写CSS的人不在痛苦了,最近我在Less里加入calc时确发现了有点问题,我在Less中这么写: div { width : calc(100% - 30px); } 结果Less把这个当成运算式去执行了,结果…

基于XMPP的IOS聊天客户端程序(XMPP服务器架构)
最近看了关于XMPP的框架,以文本聊天为例,需要发送的消息为: <message type"chat" from"kangserver.com" to"testserver.com"> <body>helloWord</body> </message> …

小程序云开发,判断数据库表的两个字段匹配 云开发数据库匹配之 and 和 or 的配合使用
云开发数据库匹配之 and 和 or 的配合使用 代码: // 获取成员消息onMsg2() {let that thiswx.cloud.init({env: gezi-ofhmx})const DB wx.cloud.database()const _ DB.command;var aa "1"var bb "2"DB.collection(message_logging).where…

react引入多个图片_重新引入React:v16之后的每个React更新都已揭开神秘面纱。
react引入多个图片In this article (and accompanying book), unlike any you may have come across before, I will deliver funny, unfeigned and dead serious comic strips about every React update since v16. It’ll be hilarious, either intentionally or unintention…

75. Find Peak Element 【medium】
75. Find Peak Element 【medium】 There is an integer array which has the following features: The numbers in adjacent positions are different.A[0] < A[1] && A[A.length - 2] > A[A.length - 1].We define a position P is a peek if: A[P] > A[P-1…

云开发地图标记导航 云开发一次性取所有数据
地图取 elx 表格的经纬度数据,存到云开发数据库里面,然后标记在地图上,点击地图的标记可以实现路线规划,导航,拨打电话。 elx数据格式如下: 云开发的数据库不能直接导入elx,所以需要转换为csv文…

未能加载文件或程序集“Report.Basic”或它的某一个依赖项。试图加载格式不正确的程序...
出现问题如下: 解决办法: 这是由于没有开启32位程序兼容模式 具体操作如下:找到对应的程序池--------高级设置-------修改“启用32位应用程序”状态修改为true 转载于:https://www.cnblogs.com/OliverQin/p/5018575.html

flutter开发小程序_为什么我认为Flutter是移动应用程序开发的未来
flutter开发小程序I dabbled a bit in Android and iOS development quite a few years back using Java and Objective-C. After spending about a month working with both of them, I decided to move on. I just couldn’t get into it.几年前,我使用Java和Obje…

小程序获取图片的宽高
代码: imgInfo(url){wx.getImageInfo({src: url,success (res) {console.log(res.width)console.log(res.height)return {width:res.width,height:res.height}}})},

凯撒密码、GDP格式化输出、99乘法表
1.恺撒密码的编码 plaincode input(明文:)print(密文:,end)for i in plaincode: print(chr(ord(i)3),end) 2.国家名称 GDP总量(人民币亿元) 中国 ¥765873.4375澳大利亚 ¥ 78312.4375(国家名称左…

random类的使用
小栗子a如下: string[] punch new[] { "石头", "剪刀", "布" }; string myPunch; public string MyPunch{get{Random random new Random();int Index random.Next(3);myPunch punch[Index].ToString();return myPunch;}} 转载于:https://ww…

如何使用C#在ASP.NET Core中轻松实现QRCoder
by Yogi由瑜伽士 如何使用C#在ASP.NET Core中轻松实现QRCoder (How to easily implement QRCoder in ASP.NET Core using C#) QRCoder is a very popular QR Code implementation library written in C#. It is available in GitHub. Here I am going to implement…

简述软件配置管理
http://blog.csdn.net/zhangmike/article/details/470477本文用菊子曰发布转载于:https://www.cnblogs.com/sdsunjing/p/5019791.html

startActivityForResult和setResult详解
startActivityForResult和setResult详解 原文:startActivityForResult和setResult详解startActivityForResult与startActivity的不同之处在于:1、startActivity( ) 仅仅是跳转到目标页面,若是想跳回当前页面,则必须再使用一次startActivity( …