{"blog_title":"How to make datas our friends","published":"2017-07-15 21:47:28","provider_name":"Hatena Blog","description":"\u6982\u8981 ShellScript\u3092\u304b\u304d\u304b\u304d\u3057\u3066\u3044\u305f\u3068\u304d\u306b\u3001MySQL\u306e\u5b9f\u884c\u7d50\u679c\uff08\u4eca\u56de\u306f\u6570\u5b57\uff09\u3092Shell\u306e\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u4f7f\u7528\u3057\u305f\u3044\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u3042\u308a\u3001\u3069\u3046\u3084\u3063\u3066\u5b9f\u73fe\u3057\u305f\u306e\u304b\u5099\u5fd8\u9332\u3002 \u25bc\u3053\u3046\u3086\u3046\u3053\u3068\u3092\u3084\u308a\u305f\u3044\u3002 # MySQL\u3092\u5b9f\u884c\u3057\u3066 mysql -uroot -e \"SELECT SUM(hoge) FROM fuga.table;\" # \u3053\u306e\u5909\u6570\u306b\u5b9f\u884c\u7d50\u679c\u3092\u5165\u308c\u305f\u3044\uff01\uff01 RESULT = MySQL\u5b9f\u884c\u7d50\u679c \u89e3\u6c7a\u65b9\u6cd5 # MySQL\u3092\u5b9f\u884c MYSQLRES=`mysql -uroot -e \"SELECT CONCAT('RESULT=', SUM(hoge)) AS 'id0=0' FROM \u2026","height":"190","categories":["Shell","SQL"],"author_url":"https://blog.hatena.ne.jp/minion024/","url":"https://024minion.hatenablog.jp/entry/2017/07/15/214728","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F024minion.hatenablog.jp%2Fentry%2F2017%2F07%2F15%2F214728\" title=\"ShellScript\u3067MySQL\u306e\u5b9f\u884c\u7d50\u679c\u3092\u5909\u6570\u306b\u3076\u3061\u8fbc\u3080 - How to make datas our friends\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://024minion.hatenablog.jp/","width":"100%","provider_url":"https://hatena.blog","image_url":null,"title":"ShellScript\u3067MySQL\u306e\u5b9f\u884c\u7d50\u679c\u3092\u5909\u6570\u306b\u3076\u3061\u8fbc\u3080","author_name":"minion024","type":"rich","version":"1.0"}