約 2,451,905 件
https://w.atwiki.jp/chu2words/pages/762.html
選挙 コメント 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/stm_matome/pages/19.html
(思いついたら勝手に更新してOKです。) 基本属性は『炎・水・風・地・雷・無』の6つだが、実際はそのほかに『闇・光・時』が存在している。 炎系 ファイア 相手に火の玉をぶつける初級魔術。ガーベラが最初から使える。 フレイム 相手に向かって炎を放つ中級魔法。 ウィルオ・ウィプス 複数の相手を盲目状態にする初級魔法。失敗することもある。 エモバーニング(Emo Burning) 精神を活性化させ攻撃力を上げる初級魔法。 アルファフェニックス(Alpha Phoenix) 火の鳥の心臓と由来する高熱体をぶつける上級魔法。 水系 ウォーター 相手に水の塊をぶつける初級魔術。ガーベラが最初から使える。 スプラッシュ 水系中級魔法。 アクアサイケディリア(Aqua Psychedelia) 壮烈な霊水の圧力で沈め去る美しくも残酷な上級魔法。 アクアプレッシャー 水の圧力で敵を押しつぶす魔法。アクアサイケディリアより小規模。。。 ドリンキングタップ 水属性唯一の回復魔法。ミネラルたっぷりの雨を降らせHP全体回復。 風系 ウィンド 相手に空気の塊を放つ初級魔術。威力を弱めると夏に役立つ。 エアカッター 空気を圧縮した刃で対象に斬りつける中級魔術。いわゆるかまいたち。 エリアルトルネード 竜巻を起こし、複数の敵にダメージを与える上級魔術。 プラズムエクササイザー(Plasma Exerciser) 超低圧気流で相手を微塵に刻み飛ばす上級魔法。 ウィングブロー 羽根のように柔らかい風が、相手を眠らせる。 地系 ストーン 相手に土の塊と岩をぶつける初級魔法。 子供の悪戯が悪化したような威力しかないため、効果は小さい。でもよい子は真似しないでね。 クエイク 魔力で強制的に地震を発生させる上級魔法。複数ダメージ。 メテオロイド(Meteoroid) 流星体をピンポイントに誘導させ衝撃を与えるお約束系上級魔法。 ロッククローク 岩がごろごろ転がってきてダメージ。よけることが出来ない。 アントレオン 蟻地獄を生み出すアントレオンを召喚する魔法。 雷系 ショック 相手に静電気の塊を放出する初級魔法。意外と痛い。 サンダー 相手に雷を落とす中級魔法。 デヴァーナームダーツ(Devanam Dart) 天空と契約を結び強烈な稲妻の裁きを与える上級魔法。 スイッチ 一瞬の光で、全体に軽いダメージ。たまに混乱させる。 エレクトリックアクト 敵全体に雷を落としダメージ+高確率で麻痺状態にする上級魔法。 ダメージ自体はデヴァーナームダーツより劣る。(それにしても噛みそうな名前だ) 無系 アタック 空間をねじまげ相手にダメージを与える中級魔法。危険。 コンフュス 催眠効果により相手を混乱させる中級魔法。人に使わないように。 スリープ 催眠効果により相手を深い眠りに落とす中級魔法。不眠症の特効薬。 カタストロフィ(Catastrophe) 滅却兵器を心象し生み出された上級魔法。まさに大災害。 カエルピョコピョコ カエル(そのへんにいる野良)を召喚し小さいダメージ。 闇 ダークネス 闇の力を直接ぶつける危険な中級魔法。下手な上級魔法より怖い。 ブラックホール 相手に破滅的なダメージを与える超絶危険な上級魔法。 シェイド 相手の影を操って足止めする初級魔法。対象の素早さが下がる。 サタンリベレーション(Satan Revelation) 死の本能を極限にまで覚醒させ冥界送りにする上級魔法。 ドラップアクシデント 意図的に事故にあわせダメージ。運が良ければはずれることも。。。 光 ライトニング 光の力をあたりに放つ中級魔法。時々相手を盲目状態にする。 イノセントアロー 聖なる矢を相手全体にぶつける中級魔法。一網打尽。 スターライト 星を相手に落とす中級魔法。 スターライトスラッシュ 星を相手全体に落とす上級魔法。 ホーリー 体力回復の初級魔法。 ホーリークロス 体力回復の中級魔法。 リバイブ 気絶状態から回復させる中級魔法。 リバイビシア 気絶状態から確実に回復させる上級魔法。 ダイアモンドスパークル(Diamond Sparkle) 永遠の輝きと称される光明で相手を昇華させる上級魔法。 時 チートスタート(だましうち) 一瞬だけ時間を止め攻撃する。相手に必ずダメージ。 ストップ 相手の行動を1ターンストップさせる。 クロノスアップ 味方を気絶状態も含め全回復。特殊な隠しイベントで覚える。 タイムオペレーション 時間を操作し、前ターンの敵の攻撃をなかった事にできる。 (ツクールで出来そうにないなら、この技は白紙に。。。) アディオシュタイン(Adiostein) 時空連続性から切り離し理論上消滅させる最上級魔法。 (食らうとそいつだけ時間が止まったように見えるw) その他(オマケと冗談) タイオプミス 相手を暗闇・混乱・爆笑状態にする『リーダー・Ω』専用技。 88の死穴 一瞬にして葬る『気功師・テル』専用技。 マシンガントーク 相手を混乱状態にしてMPを吸い取る『退魔師・はゆき』専用技。 亜回部屋 あなたは 好きですか? つ’W’⊂ GPさんを召喚し、会話を成たたさせなくさせる。 まれに相手を混乱、爆笑状態にさせる。
https://w.atwiki.jp/gear-jpn/
Gear GEAR - How to create a biped rig VimeoのGear解説ムービー Gearハウツービデオの解説 VimeoのGear解説ムービーの詳細メモ PROPERTY This will help you create a GEAR PSet. This is a custom property in which you can store it’s own layout and logic. This way you can dynamically generate custom properties with a custom layout and have them persisting even after reloading the scene. It is basically an evolution of the Custom Property With Persistent Layout by Daniele Niero as describe in this xsi blog post. (Thanks to him !), but the GEAR version is written in Python and can also store the logic of the PPG. これは GEAR PSetを作成するのに役立ちます。これは、あなたがそれ自身のレイアウトとロジックを格納できるカスタムプロパティです。この方法は、あなたが動的にカスタムレイアウトを使用してカスタムプロパティを生成することができますし、それらは、シーンをリロードした後であっても持続しています。それは基本的にこのXSIのブログ記事で説明するように Daniele Niero による Persistent Layout によるカスタム·プロパティーの進化です。(彼に感謝!)が、Gear版はPythonで書かれており、また、PPGのロジックを格納することができます。 New Parameter Set how to use it select an object.Will create a new Parameter Set on selected object. Debug Parameter Set how to use it select a GEAR PSet.To force the property to display the layout and logic code. トップページ ICON These are all the rigging icons available. Even if curves are slower to display than nulls and a lot of people recommend to use null as controlers inside Softimage. We decided to go with curves as we can shape them exactly the way we want. We feel it is important for animators to have clear and easy to grab controlers. Note that inside the gear rigging system you can replace any curve controler with a null icon. これらは、利用可能なすべてのリギングアイコンです。カーブがヌルより表示することが遅く、たとえ多くの人は、Softimage内部controlersとしてnullを使用することをお勧めします。我々は、まさに我々が望むように、それらを形作ることができるように我々は曲線で行くことにした。我々はアニメーターがcontrolersをつかむことが明確かつ簡単に持つことが重要であると感じています。ギアのリギングシステムの中にあなたがnullアイコンで任意の曲線コントローラの元を交換することができないことに注意してください。 トップページ SELECT Symmetrize Component Selection how to use it select some points/edge or faces (you need a symmetry map).Select the symmetrical components.選択しているポイント、エッジ、面と対称のコンポーネントを選択します。(対称マップが必要 ) Mirror Component Selection how to use it select some points/edge or faces (you need a symmetry map).Select both the originals and symmetrical components.選択しているポイント、エッジ、面と対称のコンポーネントを元の選択を残したまま選択します。(対称マップが必要 ) Select stars 5 how to use it select a geometry.Selects all the vertices that have 5 edges connected to them.選択しているジオメトリのうち、5つのエッジと接続された頂点が選択されます。 Select stars 6+ how to use it select a geometry.Selects all the vertices that have 6 or more edges connected to them.選択しているジオメトリのうち、6つ以上のエッジと接続された頂点が選択されます。 トップページ CURVE Constrained Curve Linear how to use it select reference objects.Creates a curve from your selection and constraint each vertex using aClusterCenterOp. the curve will be linear (degree 1). Constrained Curve Cubic how to use it select reference objects. beCreates a curve from your selection and constraint each vertex using aClusterCenterOp. the curve will be cubic (degree 3). Resample Curve how to use it select a curve.Resample the curve on itself to eventually spread the vertex on it Merge Curves how to use it select two or more curves.Merges them in one. Split Curve how to use it select one curve with multiple subcurvesCreates one new curve out of each subcurves. トップページ MODELING Match geometry how to use it select the geometry, pick session is asking for reference.Match the geometry points position to another.Geometry can be match in local or global coordinates and a blend is available to add more or less influence.ジオメトリを選択した状態からセッションを選ぶと、参照するジオメトリを求められます。これで元のジオメトリのポイントを参照先に位置を一致させます。ジオメトリは、ローカルまたはグローバル座標に一致することができ、ブレンドの影響度合いを調整が可能です。 Symmetrize Points how to use it select some points (you need a symmetry map).You need a symmetry map. Select the points you want to symmetrize and run.選択したポイントを対称化します(対称マップが必要です)。 Mirror Cluster how to use it select a cluster (you need a symmetry map).Creates a symmetrical cluster from selected cluster.選択したクラスタと対称になるクラスタを作成します(対称マップが必要です)。 Merge with clusters how to use it select some geometries.Will merge selected geometries keeping the clusters.クラスタを維持したままジオメトリをマージします。 Split Polygon Islands how to use it select a geometry.Will split selected geometry in sub islands component.選択しているジオメトリから、ポリゴンアイランドごとにポリゴンの抽出(保持)を実行します。 トップページ RIGGING TOOLS Get Distance how to use it select two or more objects.Log the distance between selected objects.選択した2つ以上のオブジェクト間の距離を、スクリプトの履歴に記録します。 Draw Axis how to use it select objects.Create 3 curves children of the selected object representing the x, y and zaxis.Useful to check the orientation of an object.選択したオブジェクトの子に、そのオブジェクトのxyzの方向を示すカーブを作成します。 Add Null Parent how to use it select object.Create a null parent of selection with the same transform.選択したオブジェクトと同じ位置に、親となるヌルオブジェクトを作成します。 Add Null Child how to use it select object.Create a null child of selection with the same transform.選択したオブジェクトと同じ位置に、子となるヌルオブジェクトを作成します。 TRANSFORM (変換) Work exactly like the Softimage native Match transform, but the native one sometimes doesn’t work. Also this one can match Translate and Rotation only or Scaling and Rotation... Softimage標準の変換の一致と全く同じ機能ですが、標準機能では上手く働かないことがあるので…。 SOLVERS Help you to apply one of the custom solvers. There is only a few available right now. The rest of them are only accessible through scripting. Create Spline Kine how to use it select objects. Create Roll Spline Kine how to use it select objects RENAMER A custom property that helps you to rename your objects, chains... トップページ CHARACTER This is the menu for the GEAR’s Rigging System. Please refers to the video on the Vimeo GEAR’s channel to get more information about it. - Rig fix sample curve op wasn t working because of wrong operator name これはGearのリギングシステムのためのメニューです。詳細はVimeoのGearのチャンネル上のビデオを参考にしてください。 Build From Selection how to use it select a guide or part of a guide.Generate a rig from selected guide. 選択したガイド、もしくはガイドの一部から、リグを生成します。 Build From File how to use it file browser prompt to pick a file.Generate a rig from a given file (xml definition of a guide). ファイルブラウザが起動し、選択したガイド定義ファイル(xml)からリグを生成します。 Guide Tools how to use it ui is prompt to provide tools.Tool set to create rig guide. キャラクターリグのガイドを作成するためのツールセットを起動します。 Update Guide how to use it select a guide model.Used to update the guide if one of the component need new settings.Your existing guide will be prefixed with "_old" and a new one will be available n the scene.Not that it is not necessary to update a guide that just been mported from xml definition as guide are automatically updated on load. Import Guide how to use it file browser prompt to pick a file.Import guide in the scene from a file (xml definition of a guide). ファイルブラウザが起動し、選択したガイド定義ファイル(xml)をシーンに読み込みます。 Export Guide how to use it file browser prompt to pick a file. Export guide to xml. ファイルブラウザが起動し、選択しているガイドをxmlファイルとして書き出します。 トップページ DEFORM SHAPE Tool set for shape edition (previously released under the name gShapeTools) シェイプの編集のためのツールセット。(以前は gShapetools の名称でリリースされていました) Select Shape Points how to use it Select a shape.Select all the point of the geometry that are deformed by the selected shape シェイプを選択して実行。そのシェイプでデフォームされているポイントが選択されます。 Reset Shape Points how to use it Select some points and a shape.The point will be reset to its original position. ポイントとシェイプを選択して実行。ポイントが元の位置へリセットされます。 Scale Shape Points how to use it Select some points and a shape.The shape deformation for selected points can be eased or exaggerated. ポイントとシェイプを選択して実行。シェイプの度合いを緩めたり誇張したりできます。 Smooth Shape Points how to use it Select some points and a shape.Use the neighbor values of the points to create an average value. ポイントとシェイプを選択して実行。 Symmetrize Shape Points how to use it select some points and a shape (you need a symmetry map).Symmetrize the shape value to opposite side. Duplicate Shape Key how to use it select a shape key.Duplicate the shape key. Move Shape Key how to use it select a shape key, pick session to select the new cluster.Copy/Paste or Cut/Paste the shape in another cluster. Reset Shape Key how to use it select a shape key.Reset all the point of the shape key. Merge Shape Key how to use it select two or more shape key.Merge all the shape key value in a new single shape key. Split Shape Key how to use it select a shape key.Split the shape key in two shape (using point coordinates or clusters). Mirror Shape Key how to use it select a shape (you need a symmetry map).Create a mirrored copy of selected shape. Copy Shape Key how to use it select a shape, launch pick session to select source shape.Copy the shape values from a shape to another. ENVELOPE Select Unormalized Points how to use it select an enveloped geometry.Select the unnormalized point from envelope. Create Symmetry Mapping Template how to use it select an enveloped geometry.Create a symmetry mapping template using the naming convention for right and left.(Avoid error when two deformers are at the exact same position). Copy Weight point 2 point how to use it select one or more points, pick one point for reference.Copy the weight of picked point to selected point. Copy Weights Average how to use it select one or more points, pick one or more point for reference.Copy the average value of picked point to selected points. Average Central Axis Point Weights how to use it select one or more points.Symmetrize the weight of selected point to right and left deformers. Replace Deformer how to use it select a geometry,pick one or more deformers to remove, pick one or more deformers to use.Replace one or more deformers by one or more other objects in the envelope. Normalize Weights how to use it select an enveloped geometry or some points.Normalize weights of selected points. Normalize to Deformer how to use it select an enveloped geometry or some points, pick target deformer.Normalize weights of selected points to picked deformer. Prune Weights how to use it select an enveloped geometry.Remove influence of deformers smaller than threshold and normalize the result. Rebuild Envelope how to use it select an enveloped geometry.Rebuilt the envelope solver to get the correct normalisation warning and colors. Remove Unused Envelope Cls how to use it select an enveloped geometry.Delete unused envelope clusters. Copy Envelope With Gator how to use it select target geometries, pick enveloped gemetries.Transfer weight using gator on multiple geometries. Mirror Objects Weights how to use it pick enveloped geometry, pick target geometry.Mirror weights on two symmetrical objects. WEIGHTMAP Select WeightMap Points how to use it Select a weightmap.Select point affected by the weigthmap Reset WeightMap Points how to use it Select some points and a weightmap.Set the value of selected point in the weightmap to 0. Set WeightMap Points how to use it Select some points and a weightmap.Set the value of selected point in the weightmap. Scale WeightMap Points how to use it Select some points and a weightmap.Scale the value of selected point in the weightmap. Smooth WeightMap Points how to use it Select some points and a weightmap.Smooth the value of selected point in the weightmap. Symmetrize WeightMap Points how to use it Select some points and a weightmap (you need a symmetrymap)Symmetrize the value of selected point in the weightmap. トップページ ANIMATION Open synoptic Open the synoptic view. You need to have rigs in the scene. Mirror Pose Mirror the transform on selected controlers. Mirror Animation Mirror the animation on selected controlers. Edit Mirroring Template Edit the mirroring rules. トップページ IMPORT / EXPORT Import Skin how to use it Select geometries.Import skin on selected geometries.Note - right now, skin only support envelope Import Envelope how to use it Select geometries.Import envelope on selected geometries Export Skin how to use it Select geometriesExport skin of selected geometries, xml definition. Export Envelope how to use it Select geometriesExport envelope of selected geometries, xml definition. Export Object how to use it Select an objectExport object, xml definition. トップページ
https://w.atwiki.jp/nostradamus/pages/247.html
lectoyreはLectoure(レクトゥール(未作成))の誤記もしくは表記の揺れ。 ロジェ・プレヴォ、ピーター・ラメジャラー、マリニー・ローズ、リチャード・シーバースなどはこの立場である(*1)。アナトール・ル・ペルチエもテクスト編では単に Lectoure とだけ注記していた(*2)。 ジャン=ポール・クレベールは1568年版で小文字であることなどから lectoir として、「読書室」と読める可能性に触れている(*3)。 チャールズ・ウォードの指摘以来、信奉者の間には、ル・トルセー(Le Torcey)のアナグラムとする説を支持する者たちがいる(*4)。 登場箇所 詩百篇第8巻43番 ※記事へのお問い合わせ等がある場合、最上部のタブの「ツール」>「管理者に連絡」をご活用ください。
https://w.atwiki.jp/ddrdp/pages/1956.html
Electronic or Treat!(激) 曲名 アーティスト フォルダ 難易度 BPM NOTES/FA(SA) その他 Electronic or Treat! PON 2014 激14 143-190 492 / 25 STREAM VOLTAGE AIR FREEZE CHAOS 95 99 21 35 102 楽譜面(7) / 踊譜面(11) /激譜面(14) / 鬼譜面(-) 属性 左右振り、渡り、遠配置、ひねり、交互難、ソフラン(減速) 譜面動画 http //youtu.be/tEJFvJEdY54 解説 BPM推移 190-143-190 pop n18せんごく列伝からの移植曲で、PONのデビュー曲。12分を主体にした振り回し譜面で、ESPのような12分同時こそ無いが交差渡りの12分と16分が当たり前のように出てくる難配置。遠距離スキップは適度にスイッチしたり、交差滝は横向きビジで対処するなりアドリブを交えるといくらかマシになる。凶悪なのは低速で、16分地団駄交差は明らかに足14を逸脱した配置。低速明けからウィニングランだが、踊同様早踏みしやすい緑矢印に注意 -- 名無しさん (2014-12-27 23 03 26) 名前 コメント コメント(私的なことや感想はこちら) ひたすら踏みにくい配置。そして遠配置の交互難スキップはBPMの早さもあってスイッチ推奨。ただしスイッチ箇所を間違えるととんでもないことになるので注意。低速は鯖MAX並みの早さで横向き交互渡り地帯でリズムもわかりにくい。以上のことを考えても足14では詐欺クラス。15中はあると思っていい。 -- 名無しさん (2014-12-28 00 12 33) 鳥A許容グレは8、ステラや阿波おどり並に厳しい -- 名無しさん (2014-12-28 14 09 20) 動画で確認すると交互に踏めるように作られてる。詐称ではあるが中々良い練習譜面ではなかろうか -- 名無しさん (2015-01-01 12 23 36) 名前 コメント
https://w.atwiki.jp/ddr_dp/pages/1807.html
Electronic or Treat!(踊) 曲名 アーティスト フォルダ 難易度 BPM NOTES/FA(SA) その他 Electronic or Treat! PON 2014 踊12 143-190 372 / 16 STREAM VOLTAGE AIR FREEZE CHAOS 72 60 9 27 46 楽譜面(7) / 踊譜面(12) / 激譜面(15) / 鬼譜面(-) 属性 左右振り、渡り、ソフラン(減速)、リズム難 譜面 http //livedoor.blogimg.jp/yanmar195/imgs/6/d/6d74dfc1.png 譜面動画 https //www.youtube.com/watch?v=tRngEp-VJDE (x1.5, NOTE, Clap) プレイ動画 https //www.youtube.com/watch?v=AFuGyvzEFT4 (x2.5, NOTE) https //www.youtube.com/watch?v=kAQoUHLFw-g (x?.?, オプション不明) 解説 BPM推移 190-143-190 pop n18せんごく列伝からの移植曲で、PONのデビュー曲。12分2連が主体の左右振り譜面で、6分も含めてかなり渡らせられる。低速も遠距離ビジ交差渡りでかなり踏み辛く、低速明けは密度こそ減るが早踏みしやすい配置。スコアは特に詐称 -- 名無しさん (2014-12-27 22 53 45) A20にて足11→足12に昇格。 名前 コメント コメント(私的なことや感想はこちら) 激譜面の詐称っぷりに隠れてるけど11にしては激しい左右振り。無理に交互にいかない方がクリア的もスコア的にもマシになると思われる -- 名無しさん (2014-12-28 01 00 54) これも詐欺w高速地帯、低速地帯どちらも交互難かつ高BPMの左右振りがあり激ほどではないが危険。 -- 名無しさん (2014-12-28 01 53 37) ハロウィンだからやってきたんだけど、やっぱりこの速さで12分の渡りは詐称なんじゃないかな…… -- 名無しさん (2017-10-31 22 50 20) 名前 コメント
https://w.atwiki.jp/jpops/pages/2859.html
ELECTRO LOVERS ORCHESTRAをお気に入りに追加 ELECTRO LOVERS ORCHESTRAのリンク #bf Amazon.co.jp ウィジェット ELECTRO LOVERS ORCHESTRAの報道 gnewプラグインエラー「ELECTRO LOVERS ORCHESTRA」は見つからないか、接続エラーです。 ELECTRO LOVERS ORCHESTRAとは ELECTRO LOVERS ORCHESTRAの94%は歌で出来ています。ELECTRO LOVERS ORCHESTRAの2%は勢いで出来ています。ELECTRO LOVERS ORCHESTRAの2%は株で出来ています。ELECTRO LOVERS ORCHESTRAの1%は真空で出来ています。ELECTRO LOVERS ORCHESTRAの1%は罠で出来ています。 ELECTRO LOVERS ORCHESTRA@ウィキペディア ELECTRO LOVERS ORCHESTRA Amazon.co.jp ウィジェット 掲示板 名前(HN) カキコミ すべてのコメントを見る ページ先頭へ ELECTRO LOVERS ORCHESTRA このページについて このページはELECTRO LOVERS ORCHESTRAのインターネット上の情報を集めたリンク集のようなものです。ブックマークしておけば、日々更新されるELECTRO LOVERS ORCHESTRAに関連する最新情報にアクセスすることができます。 情報収集はプログラムで行っているため、名前が同じであるが異なるカテゴリーの情報が掲載される場合があります。ご了承ください。 リンク先の内容を保証するものではありません。ご自身の責任でクリックしてください。
https://w.atwiki.jp/sqlpuzzle/pages/33.html
問題 請求データを記録しているテーブルFriendsOfPepperoni (会員識別番号cust_id、発行日bill_date、金額pizza_amt)について 0~30日前、31~60日前、61~90日前、90日以上前の 4つの期間における各会員の合計請求額を求める サンプルデータ cust_id | bill_date | pizza_amt ---------+------------+----------- 1 | 2008-05-07 | 10.00 1 | 2008-04-01 | 20.00 1 | 2008-03-01 | 30.00 1 | 2008-01-01 | 40.00 2 | 2008-05-06 | 10.00 2 | 2008-04-01 | 20.00 2 | 2008-03-01 | 30.00 2 | 2008-01-01 | 40.00 結果 cust_id | age1 | age2 | age3 | age4 ---------+-------+-------+-------+------- 1 | 10.00 | 20.00 | 30.00 | 40.00 2 | 10.00 | 20.00 | 30.00 | 40.00 yukaさんの回答 考え① 1、ある日にちからピザを購入した日にちまでの期間を 求めたビューを作成。 2、ビューを用いて、それぞれの期間ごとのpizza_amtの合計 を求める。 ビュー create view Date(cust_id,pizza_amt,ago) as select cust_id,pizza_amt,datediff( 2007-06-22 , bill_date) as ago from FriendsofPepperoni; SQL文 select cust_id, sum(case when ago between 0 and 30 then pizza_amt else 0.00 end) as 1ago, sum(case when ago between 31 and 60 then pizza_amt else 0.00 end) as 2ago, sum(case when ago between 61 and 90 then pizza_amt else 0.00 end) as 3ago, sum(case when ago 90 then pizza_amt else 0.00 end) as 4ago from Date group by cust_id; 考え② ①のようなビューは作らず、case式で、bill_dateが 何日前に分類されるかを判別し、それぞれのpizza_amtの合計を求める。 SQL文 select cust_id, sum(case when bill_date BETWEEN 2007-06-22 -interval 30 day AND 2007-06-22 then pizza_amt else 0.00 end) as 1ago, sum(case when bill_date BETWEEN 2007-06-22 -interval 60 day AND 2007-06-22 -interval 31 day then pizza_amt else 0.00 end) as 2ago, sum(case when bill_date BETWEEN 2007-06-22 -interval 90 day AND 2007-06-22 -interval 61 day then pizza_amt else 0.00 end) as 3ago, sum(case when bill_date 2007-06-22 -interval 91 day then pizza_amt else 0.00 end) as 4ago from FriendsofPepperoni group by cust_id; 結果(①も②も結果は同じ) +---------+------+-------+-------+-------+ | cust_id | 1ago | 2ago | 3ago | 4ago | +---------+------+-------+-------+-------+ | 1 | 0.00 | 10.00 | 20.00 | 70.00 | | 2 | 0.00 | 10.00 | 20.00 | 70.00 | +---------+------+-------+-------+-------+ fumikoの回答 方針 ①それぞれの期間について集計する ②①をcust_idで結合する SQL文 select f1.cust_id,pa1,pa2,pa3,pa4 from (select cust_id,sum(pizza_amt)as pa1 from friendsofpepperoni group by cust_id,bill_date having 0 =(current_date - bill_date) and (current_date - bill_date) = 30) as f1, (select cust_id,sum(pizza_amt)as pa2 from friendsofpepperoni group by cust_id,bill_date having 31 =(current_date - bill_date) and (current_date - bill_date) = 60) as f2, (select cust_id,sum(pizza_amt)as pa3 from friendsofpepperoni group by cust_id,bill_date having 61 =(current_date - bill_date) and (current_date - bill_date) = 90) as f3, (select cust_id,sum(pizza_amt)as pa4 from friendsofpepperoni group by cust_id,bill_date having 91 =(current_date - bill_date) ) as f4 where f1.cust_id = f2.cust_id and f2.cust_id = f3.cust_id and f3.cust_id = f4.cust_id 結果 cust_id | pa1 | pa2 | pa3 | pa4 --------+-------+-------+-------+------- 1 | 10.00 | 20.00 | 30.00 | 40.00 2 | 10.00 | 20.00 | 30.00 | 40.00
https://w.atwiki.jp/sqlpuzzle/pages/39.html
問題 fooの数量、barの数量を計算書番号ごとに出す accounts foo bar 答え acct_nbr acct_nbr | bar_qty acct_nbr | bar_qty |foo_qty|bar_qty ----------- --------+-------- ---------+--------- -------------------- 1 2 | 160 2 | 160 → 1| 10 | 0 2 3 | 320 3 | 320 2| 60 | 160 3 3 | 640 3 | 640 3| 80 | 961 4 3 | 1 3 | 1 4| 0 | 0 サンプルコード↓これ以外を考えよう♪ select a.acct_nbr, coalesce(f.foo_qty,0) as foo_qty_tot, coalesce(b.bar_qty,0) as bar_qty_tot from accounts as a left outer join (select acct_nbr,sum(foo_qty) as foo_qty from foo group by acct_nbr) as f on f.acct_nbr = a.acct_nbr left outer join (select acct_nbr,sum(bar_qty) as bar_qty from bar group by acct_nbr) as b on f.acct_nbr = b.acct_nbr; COALESCE(式1,式2,式3,...)式1がNULL以外→終了、式1がNULL→式2実行。 式2がNULL→式3実行、引数で指定された式がNULL以外の値を返すまで続く 全ての式がNULL→NULLをCOALESCEの結果として返す yukaさんの回答 fumikoの回答 考え accountsのacct_nbrごとにfooからacct_nbrが同じときだけfoo_qtyを足していく barからacct_nbrが同じときだけbar_qtyを足していく SQL select ac.acct_nbr, sum(distinct case when ac.acct_nbr = foo.acct_nbr then foo_qty else 0 end), sum(distinct case when ac.acct_nbr = bar.acct_nbr then bar_qty else 0 end) from accounts as ac,foo,bar group by ac.acct_nbr 結果 acct_nbr | sum | sum ----------+-----+----- 1 | 10 | 0 2 | 60 | 160 3 | 80 | 961 4 | 0 | 0
https://w.atwiki.jp/onjpawapoke/pages/314.html
CRC 4314D8BC 所持金9999万9999円 22006BAC 05F5E0FF エネルギーMAX 02006BB4 00000064 ストレス0 02006BB8 00000000 記憶MAX 02006BBC 00000064 チームレベルMAX 02006CA4 08 ※チームメイトの能力補正レベルです。最大で0Fまで強化可能。 ネズミ捕りでこのコードを使って一匹捕まえたらクリア 030020EE 00000009 [SELECT]ボタンを押した後一球投げればアウト D4000130 000003FB 02000AE5 00000003 プレイヤー 99 COM 0 02000D94 00000063 0200104C 00000000 [SELECT]ボタンでアウトカウント2 D4000130 000003FB 02000AE7 00000002 亀田戦 プレイヤーのライフ減らない 03000DC0 00000005 亀田戦 [SELECT]ボタンで亀田のライフ1 D4000130 000003FB 03000DC1 00000001 故障・病気にならない 02006B84 00000000 02006B85 00000000 善悪度100 02006BC0 00000064 善悪度89 02006BC0 59 善悪度0 02006BC0 00000000 球速160 02006C26 000000A0 コントロール255 12006C28 000000FF スタミナ255 12006C2A 000000FF ミート7 02006C0C 07 パワー255 012006C0E FF 肩力15 02006C10 0000000F 走力15 02006C12 0000000F 守備力15 02006C14 0000000F [SELECT]ボタンで1年目 D4000130 000003FB 02006B81 00000000 [SELECT]ボタンで2年目 D4000130 000003FB 02006B81 00000001 [SELECT]ボタンで3年目 D4000130 000003FB 02006B81 00000002 [SELECT]ボタンで1月 D4000130 000003FB 02006B82 00000000 [SELECT]ボタンで2月 D4000130 000003FB 02006B82 00000001 [SELECT]ボタンで3月 D4000130 000003FB 02006B82 00000002 [SELECT]ボタンで4月 D4000130 000003FB 02006B82 00000003 [SELECT]ボタンで5月 D4000130 000003FB 02006B82 00000004 [SELECT]ボタンで6月 D4000130 000003FB 02006B82 00000005 [SELECT]ボタンで7月 D4000130 000003FB 02006B82 00000006 [SELECT]ボタンで8月 D4000130 000003FB 02006B82 00000007 [SELECT]ボタンで9月 D4000130 000003FB 02006B82 00000008 [SELECT]ボタンで10月 D4000130 000003FB 02006B82 00000009 [SELECT]ボタンで11月 D4000130 000003FB 02006B82 0000000A [SELECT]ボタンで12月 D4000130 000003FB 02006B82 0000000B [SELECT]ボタンで1週 D4000130 000003FB 02006B83 00000000 [SELECT]ボタンで2週 D4000130 000003FB 02006B83 00000001 [SELECT]ボタンで3週 D4000130 000003FB 02006B83 00000002 [SELECT]ボタンで4週 D4000130 000003FB 02006B83 00000003