【Excel】重複しない値抽出

Excel】重複しない値抽出

 

1.重複しない値抽出したい列を選択する。

2.データ>フィルター>詳細設定>

「重複するレコードは無視する」チェックする。

3.「OK」ボタン押下する。

 

 

参考URL

https://support.office.com/ja-jp/article/%E9%87%8D%E8%A4%87%E3%81%97%E3%81%AA%E3%81%84%E5%80%A4%E3%82%92%E6%8A%BD%E5%87%BA%E3%81%99%E3%82%8B%E3%80%81%E3%81%BE%E3%81%9F%E3%81%AF%E9%87%8D%E8%A4%87%E3%81%99%E3%82%8B%E5%80%A4%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B-ccf664b0-81d6-449b-bbe1-8daaec1e83c2

【phpMyAdmin】SQL文

phpMyAdminSQL

例:

条件なし 

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

 

 

 

【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

https://developer.salesforce.com/docs/atlas.ja-jp.214.0.apexcode.meta/apexcode/apex_methods_system_map.htm#apex_System_Map_keySet

 

【PowerPoint】テンプレート(テーマ)編集

PowerPoint】テンプレート(テーマ)編集

 

1.編集したスライドを選択

2.メニュ>表示>スライドマスター

3.編集する

4.閉じる

 

 

参考URL

スライドマスターでテンプレート(テーマ)を編集 [パワーポイント(PowerPoint)の使い方] All About

【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