Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Tanay barisha
.
উইকিপিডিয়ার এমন নিবন্ধ যার উইকিউপাত্তে লেবেল নেই
Toggle Highlighting
SQL
################################################## # উইকিপিডিয়ার এমন নিবন্ধ যার উইকিউপাত্তে লেবেল নেই # # শনাক্তকারী কোড = উইকিউপাত্তে নিবন্ধটির বিশেষ কোড # # উইকি সংযোগ = উইকিপিডিয়াতে নিবন্ধটির পূর্ণ সংযোগ # ################################################## # যে তথ্য চাই তা উইকিউপাত্তের ডেটাবেসে আছে # এই ডেটাবেসের নাম হলো wikidatawiki_p # সেটাকে USE বা ব্যবহার করছি USE wikidatawiki_p; # এরপর আমরা যে তথ্যটা চাইছি সেটাকে একটা সারণিতে চাইছি # যার প্রথম কলামে থাকবে সেই আইটেমের বিশেষ "শনাক্তকারী কোড" # এটি হলো ips_item_id = Q বিহীন কোড # আর দ্বিতীয় কলামে থাকবে সেই আইটেমের সংশ্লিষ্ট "উইকি সংযোগ" # , এটাকে "শনাক্তকারী কোড" হিসাবে SELECT নেওয়া হলো SELECT CONCAT("Q",ips_item_id) AS "শনাক্তকারী কোড", # উইকিপিডিয়ায় নিবন্ধটির নাম, এটাকে "উইকি সংযোগ" হিসাবে নেওয়া হলো CONCAT('[[',ips_site_page,']]') AS "উইকি সংযোগ" # এটা ডেটাবেসের একটা সারণি যেখানে উইকিপিডিয়া নিবন্ধের সংযোগ দেওয়া থাকে FROM wb_items_per_site WHERE ips_site_id='bnwiki' AND NOT EXISTS ( SELECT 1 FROM wb_terms WHERE CONCAT("Q", ips_item_id) = term_full_entity_id AND term_type = "label" AND term_language='bn' LIMIT 1 ) LIMIT 5 ;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...