【Excel】重複しない値抽出
【phpMyAdmin】SQL文
例:
条件なし
SELECT * FROM `table1` WHERE 1
例:
条件付き
SELECT * FROM `table1` WHERE `itemid1` = 'abc1234'
SELECT * FROM `table1` WHERE `itemid1` like 'abc%'
SELECT * FROM `table1` WHERE `itemid1` like 'abc%' and `itemid2` like 'xyz%'
参考URL
https://www.w3schools.com/sql/sql_where.asp
例:
NULLの判断
SELECT * FROM `table1` WHERE `itemid1` is NULL
SELECT * FROM `table1` WHERE `itemid1` is not NULL
参考URL
https://www.dbonline.jp/sqlite/select/index7.html
【phpMyAdmin】Export
【phpMyAdmin】Export
1.エクスポート : 「Excel 2007 XLSX Workbook」選択する。
2.オプション : 「1行目にフォール度名を追加する」チェックする。
3.圧縮「なし」
4.「non」エンコーディングへ変換する。
5.「実行する」ボタン押下する。
【Salesforce】Map
【Salesforce】Map
例:
Map<String,Map<String,String>> testMpas = new Map<String,Map<String,String>>{
'Red' => new Map<String, String>{'Red0'=> 'FF0000','Red1' => 'FF0001'},
'Blue' => new Map<String, String>{'Blue0'=> '0000A0','Blue1' => '0000A1'}
};
for(String obj: testMpas.keySet()){
Set<String> keys = testMpas.get(obj).keySet();
Map<String, String> keyValues = testMpas.get(obj);
system.debug('keys:'+keys);
for(String key: keys){
system.debug('key:'+key);
system.debug('keyValues:'+keyValues.get(key));
}
}
結果:
keys:{Red0, Red1}
key:Red0
keyValues:FF0000
key:Red1
keyValues:FF0001
keys:{Blue0, Blue1}
key:Blue0
keyValues:0000A0
key:Blue1
keyValues:0000A1
【Salesforce】Map
【Salesforce】Map
例:
Map<String, String> colorCodes = new Map<String, String>();
colorCodes.put('Red', 'FF0000');
colorCodes.put('Blue', '0000A0');
Set <String> colorSet = new Set<String>();
colorSet = colorCodes.keySet();
system.debug('colorSet:'+colorSet);
for(String obj: colorCodes.keySet()){
system.debug('obj:'+obj);
system.debug('obj.get:'+colorCodes.get(obj));
}
結果:
colorSet:{Blue, Red}
obj:Red
obj.get:FF0000
obj:Blue
obj.get:0000A0
参考URL
【PowerPoint】テンプレート(テーマ)編集
【Salesforce】Developer Editionアカウントの作成
【Salesforce】Developer Editionアカウントの作成
1.ブラウザを開き、以下のURLにアクセスします
http://developer.salesforce.com/signup
2.サインアップフォームを入力します
参考URL
http://salesforcedevelopersjapan.github.io/lightning-connect-tutorial/create-developer-edition.html