{"id":14187,"date":"2019-01-21T12:04:41","date_gmt":"2019-01-21T14:04:41","guid":{"rendered":"https:\/\/blog.hostinger.io\/br-tutoriais\/?p=14187"},"modified":"2023-09-08T16:54:55","modified_gmt":"2023-09-08T19:54:55","slug":"o-que-e-query","status":"publish","type":"post","link":"\/br\/tutoriais\/o-que-e-query","title":{"rendered":"Query em bancos de dados: guia r\u00e1pido e pr\u00e1tico"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Uma <\/span><i><span style=\"font-weight: 400\">query <\/span><\/i><span style=\"font-weight: 400\">&eacute; um <\/span><i><span style=\"font-weight: 400\">pedido<\/span><\/i><span style=\"font-weight: 400\"> de uma informa&ccedil;&atilde;o ou de um dado. Esse <\/span><i><span style=\"font-weight: 400\">pedido<\/span><\/i><span style=\"font-weight: 400\"> tamb&eacute;m pode ser entendido como uma <\/span><i><span style=\"font-weight: 400\">consulta<\/span><\/i><span style=\"font-weight: 400\">, uma <\/span><i><span style=\"font-weight: 400\">solicita&ccedil;&atilde;o<\/span><\/i><span style=\"font-weight: 400\"> ou, ainda, uma <\/span><i><span style=\"font-weight: 400\">requisi&ccedil;&atilde;o<\/span><\/i><span style=\"font-weight: 400\">. Ent&atilde;o, o que significa uma query no contexto da programa&ccedil;&atilde;o em computadores?<\/span><\/p><p><span style=\"font-weight: 400\">Simples: &eacute; exatamente o mesmo significado. O detalhe &eacute; que essa informa&ccedil;&atilde;o &eacute; pedida a um banco de dados. E isso &eacute; bastante &uacute;til para gerenciamento de dados, pois permite adicionar, remover e modificar qualquer tipo de dado do seu projeto online. <\/span><\/p><p><span style=\"font-weight: 400\">Por&eacute;m, essa solicita&ccedil;&atilde;o n&atilde;o &eacute; aleat&oacute;ria. Voc&ecirc; faz o seu pedido baseado em um c&oacute;digo pr&eacute;-definido. &Eacute; desse jeito que o seu banco de dados entende a instru&ccedil;&atilde;o que voc&ecirc; est&aacute; pedindo. Vamos nos referir a esse c&oacute;digo como a linguagem da query.<\/span><\/p><p><span style=\"font-weight: 400\">A linguagem padr&atilde;o para gerenciamento de bancos de dados &eacute; a SQL ( Structured Query Language). Lembre-se de que o <\/span><a href=\"https:\/\/www.hostinger.com\/br\/tutoriais\/o-que-e-mysql\/\"><span style=\"font-weight: 400\">SQL &eacute; diferente do MySQL<\/span><\/a><span style=\"font-weight: 400\">. Enquanto o primeiro &eacute; a linguagem da query, o segundo &eacute; o software que usa essa mesma linguagem.<\/span><\/p><p><span style=\"font-weight: 400\">Ainda que a linguagem SQL seja a escolha mais popular entre os softwares de bancos de dados, ela n&atilde;o &eacute; o &uacute;nica. Existem outras, como o AQL, o Datalog e o DMX. Tudo isso &eacute; para voc&ecirc; saber que todas essas linguagens facilitam a sua comunica&ccedil;&atilde;o com os bancos de dados.<\/span><\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/BR-Web-Development-Glossary-for-Beginners.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Baixar Gloss&aacute;rio Completo de Desenvolvimento Web<\/a><\/p><h2 class=\"wp-block-heading\" id=\"h-como-funciona-uma-query\"><b>Como Funciona uma Query?<\/b><\/h2><p><span style=\"font-weight: 400\">Vamos supor que voc&ecirc; esteja em um restaurante e que fa&ccedil;a o pedido da sua comida. Voc&ecirc; faz o pedido dizendo algo como &ldquo;Gostaria do prato principal, por favor&rdquo;. O atendente, ent&atilde;o, entende o significado do seu pedido e entrega exatamente o que voc&ecirc; solicitou.<\/span><\/p><p><span style=\"font-weight: 400\">Uma query (solicita&ccedil;&atilde;o) funciona da mesma maneira. Ela d&aacute; significado ao c&oacute;digo usado na linguagem da query. Pode ser o SQL ou qualquer outra coisa. Ambos o banco de dados e o usu&aacute;rio podem sempre trocar informa&ccedil;&otilde;es conquanto que usem a mesma linguagem.<\/span><\/p><p><span style=\"font-weight: 400\">Agora voc&ecirc; at&eacute; pode pensar que fazer uma query &eacute; o &uacute;nico jeito de solicitar dados ao banco de dados. Na verdade, existem algumas op&ccedil;&otilde;es de softwares de bancos de dados que permitem voc&ecirc; usar outros m&eacute;todos. As mais populares delas s&atilde;o:<\/span><\/p><ul class=\"wp-block-list\">\n<li><strong>Usando par&acirc;metros dispon&iacute;veis.<\/strong> Por padr&atilde;o, o software tem uma lista de par&acirc;metros no menu. Os usu&aacute;rios podem escolher um deles e o sistema &eacute; que vai produzir a resposta esperada. &Eacute; uma op&ccedil;&atilde;o f&aacute;cil, mas nada flex&iacute;vel e oferece opera&ccedil;&otilde;es limitadas.&nbsp;<\/li>\n\n\n\n<li><strong>Query por exemplo.<\/strong> O sistema mostra uma s&eacute;rie de c&oacute;digos com espa&ccedil;os em branco. Neles, voc&ecirc; pode escrever e especificar os campos e valores dos seus dados.&nbsp;<\/li>\n\n\n\n<li><strong>Linguagem da query.<\/strong> Essa op&ccedil;&atilde;o &eacute; a que estamos falando desde o come&ccedil;o. Voc&ecirc; precisa escrever as queries (solicita&ccedil;&otilde;es) do zero sempre que quiser manipular algum dado. Esse m&eacute;todo requer conhecimento em linguagem de query usada pelo seu software de banco de dados. Embora seja complexo, esse m&eacute;todo d&aacute; total controle dos seus dados.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-exemplos-de-uma-query\"><b>Exemplos de uma Query<\/b><\/h2><p><span style=\"font-weight: 400\">Agora que voc&ecirc; sabe um pouco mais sobre o que &eacute; uma Query, por que n&atilde;o tentar escrever algumas delas? No exerc&iacute;cio que faremos logo abaixo, vamos usar o padr&atilde;o SQL. Atente-se a isso.<\/span><\/p><p><b>Fonte dos dados<\/b><span style=\"font-weight: 400\">. Participante (Nome da Tabela). <\/span><\/p><p><span style=\"font-weight: 400\">Vamos supor que voc&ecirc; reuniu alguns dados e informa&ccedil;&otilde;es atrav&eacute;s de uma pesquisa. Abaixo est&aacute; uma amostra dos seus dados.<\/span><\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><b>ID<\/b><\/td><td><b>Nome<\/b><\/td><td><b>Sexo<\/b><\/td><td><b>Idade<\/b><\/td><td><b>Profiss&atilde;o<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400\">1<\/span><\/td><td><span style=\"font-weight: 400\">Jo&atilde;o<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">17<\/span><\/td><td><span style=\"font-weight: 400\">Estudante<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">2<\/span><\/td><td><span style=\"font-weight: 400\">Pedro<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">26<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">3<\/span><\/td><td><span style=\"font-weight: 400\">Margarete<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Professora<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">4<\/span><\/td><td><span style=\"font-weight: 400\">L&eacute;ia<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><\/tbody><\/table><\/figure><h3 class=\"wp-block-heading\" id=\"h-operacoes\"><span style=\"font-weight: 400\"><br><\/span><b>Opera&ccedil;&otilde;es<\/b><\/h3><p><span style=\"font-weight: 400\">Com o SQL, voc&ecirc; pode tanto escrever queries com SQL SELECT ou SQL ACTION. Como o pr&oacute;prio nome sugere, o SQL SELECT permite que voc&ecirc; SELECIONE partes dos seus dados. J&aacute; o SQL ACTION permite que voc&ecirc; execute opera&ccedil;&otilde;es orientada com uma A&Ccedil;&Atilde;O espec&iacute;fica, como apagar dados inseridos, atualizar valores e criar novas tabelas. &nbsp;&nbsp;<\/span><\/p><p><span style=\"font-weight: 400\">Var dar uma olhada abaixo.<\/span><\/p><p><b>Selecionando apenas as colunas &ldquo;Nome&rdquo; e &ldquo;Profiss&atilde;o&rdquo; da tabela &nbsp;&ldquo;Participante&rdquo;<\/b><span style=\"font-weight: 400\">.<br><br><\/span><b>Comando<\/b> <b>SQL<\/b><span style=\"font-weight: 400\">:<br><\/span><\/p><p><span style=\"font-weight: 400;color: #0000ff\">SELECT<\/span><span style=\"font-weight: 400\"> Nome, Profiss&atilde;o FROM&nbsp;Participante<br><br><\/span><b>Resultado<\/b><span style=\"font-weight: 400\">:<\/span><\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><b>Nome<\/b><\/td><td><b>Profiss&atilde;o<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400\">Jo&atilde;o<\/span><\/td><td><span style=\"font-weight: 400\">Estudante<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">Pedro<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">Margarete<\/span><\/td><td><span style=\"font-weight: 400\">Professora<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">L&eacute;ia<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><\/tbody><\/table><\/figure><p><b>Apagando dados dos correspondentes desempregados<\/b><span style=\"font-weight: 400\">. <\/span><\/p><p><b>Consulta SQL<\/b><span style=\"font-weight: 400\">:<\/span><\/p><p><span style=\"font-weight: 400;color: #0000ff\">DELETE FROM <\/span><span style=\"font-weight: 400\">Participante <\/span><span style=\"font-weight: 400;color: #0000ff\">WHERE<\/span><span style=\"font-weight: 400\"> Profiss&atilde;o = &lsquo;Desempregado&rsquo;<\/span><\/p><p><b>Resultado<\/b>:<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><b>ID<\/b><\/td><td><b>Nome<\/b><\/td><td><b>Sexo<\/b><\/td><td><b>Idade<\/b><\/td><td><b>Profiss&atilde;o<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400\">1<\/span><\/td><td><span style=\"font-weight: 400\">Jo&atilde;o<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">17<\/span><\/td><td><span style=\"font-weight: 400\">Estudante<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">2<\/span><\/td><td><span style=\"font-weight: 400\">Margarete<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Professora<\/span><\/td><\/tr><\/tbody><\/table><\/figure><p><span style=\"font-weight: 400\"><strong>Inserindo uma nova linha contendo apenas um participantes chamado M&aacute;rio.<\/strong><\/span><\/p><p><b>Comando SQL:<\/b><\/p><p><span style=\"font-weight: 400;color: #0000ff\">INSERT INTO<\/span><span style=\"font-weight: 400\">&nbsp;Participante (ID, Nome, Sexo, Idade, Profiss&atilde;o) <\/span><span style=\"font-weight: 400;color: #0000ff\">VALUES <\/span><span style=\"font-weight: 400\">(&lsquo;5&rsquo;, &lsquo;M&aacute;rio&rsquo;, &lsquo;Masculino&rsquo;, &lsquo;67&rsquo;, &lsquo;Aposentado&rsquo;)<\/span><\/p><p><b>Resultado: <\/b><span style=\"font-weight: 400\"><br><\/span><\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><b>ID<\/b><\/td><td><b>Nome<\/b><\/td><td><b>Sexo<\/b><\/td><td><b>Idade<\/b><\/td><td><b>Profiss&atilde;o<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400\">1<\/span><\/td><td><span style=\"font-weight: 400\">Jo&atilde;o<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">17<\/span><\/td><td><span style=\"font-weight: 400\">Estudante<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">2<\/span><\/td><td><span style=\"font-weight: 400\">Pedro<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">26<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">3<\/span><\/td><td><span style=\"font-weight: 400\">Margarete<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Professora<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">4<\/span><\/td><td><span style=\"font-weight: 400\">L&eacute;ia<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">5<\/span><\/td><td><span style=\"font-weight: 400\">Mario<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">67<\/span><\/td><td><span style=\"font-weight: 400\"> Aposentado<\/span><\/td><\/tr><\/tbody><\/table><\/figure><p><span style=\"font-weight: 400\">&nbsp;<\/span><\/p><p><b>Mudar a profiss&atilde;o de Margarete para &ldquo;M&eacute;dica&rdquo;<\/b><span style=\"font-weight: 400\">. <\/span><\/p><p><b>Consulta SQL<\/b><span style=\"font-weight: 400\">:<\/span><\/p><p><span style=\"font-weight: 400;color: #0000ff\">UPDATE<\/span><span style=\"font-weight: 400\">&nbsp;Participante <\/span><span style=\"font-weight: 400\"><span style=\"color: #0000ff\">SET<\/span> <\/span><span style=\"font-weight: 400\">Profiss&atilde;o = &lsquo;M&eacute;dica&rsquo; WHERE<\/span><span style=\"font-weight: 400\">&nbsp;ID = &lsquo;3&rsquo;<\/span><\/p><p><b>Resultado<\/b><span style=\"font-weight: 400\">:<\/span><\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><b>ID<\/b><\/td><td><b>Nome<\/b><\/td><td><b>Sexo<\/b><\/td><td><b>Idade<\/b><\/td><td><b>Profiss&atilde;o<\/b><\/td><\/tr><tr><td><span style=\"font-weight: 400\">1<\/span><\/td><td><span style=\"font-weight: 400\">Jo&atilde;o<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">17<\/span><\/td><td><span style=\"font-weight: 400\">Estudante<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">2<\/span><\/td><td><span style=\"font-weight: 400\">Pedro<\/span><\/td><td><span style=\"font-weight: 400\">Masculino<\/span><\/td><td><span style=\"font-weight: 400\">26<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">3<\/span><\/td><td><span style=\"font-weight: 400\">Margarete<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">M&eacute;dica<\/span><\/td><\/tr><tr><td><span style=\"font-weight: 400\">4<\/span><\/td><td><span style=\"font-weight: 400\">L&eacute;ia<\/span><\/td><td><span style=\"font-weight: 400\">Feminino<\/span><\/td><td><span style=\"font-weight: 400\">34<\/span><\/td><td><span style=\"font-weight: 400\">Desempregado<\/span><\/td><\/tr><\/tbody><\/table><\/figure><figure class=\"wp-block-image size-large\"><a href=\"\/br\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/public\" alt=\"\" class=\"wp-image-32927\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/53\/2023\/02\/BR-Web-hosting_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-conclusao\"><b>Conclus&atilde;o<\/b><\/h2><p><span style=\"font-weight: 400\">Algumas consultas SQL, como as mostradas acima, s&atilde;o exemplos s&oacute;lidos do que uma linguagem query pode fazer. Elas permitem que voc&ecirc; lide com seus dados da forma que mais achar apropriado.<\/span><\/p><p><span style=\"font-weight: 400\">Imagine uma situa&ccedil;&atilde;o em que voc&ecirc; tenha milhares de linhas de c&oacute;digos no seu banco de dados. Manipular todos eles n&atilde;o precisa ser t&atilde;o trabalhoso. &Eacute; por isso que voc&ecirc; usa declara&ccedil;&otilde;es de SQL para escrever o tipo de mudan&ccedil;a que voc&ecirc; quer fazer.<\/span><\/p><p><span style=\"font-weight: 400\">Fora isso, a maioria das linguagens de query s&atilde;o intuitivas. Isso significa que elas s&atilde;o f&aacute;ceis de aprender uma vez que voc&ecirc; entenda as regras b&aacute;sicas.<\/span><\/p><p><span style=\"font-weight: 400\">Agora, &eacute; hora de colocar a &ldquo;m&atilde;o na massa&rdquo; e praticar o que voc&ecirc; aprendeu sobre o que &eacute; uma query e como ela funciona. &Eacute; desse jeito que voc&ecirc; vai se tornar um gerenciador profissional de dados de banco de dados! &nbsp;&nbsp;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uma query &eacute; um pedido de uma informa&ccedil;&atilde;o ou de um dado. Esse pedido tamb&eacute;m pode ser entendido como uma consulta, uma solicita&ccedil;&atilde;o ou, ainda, uma requisi&ccedil;&atilde;o. Ent&atilde;o, o que significa uma query no contexto da programa&ccedil;&atilde;o em computadores? Simples: &eacute; exatamente o mesmo significado. O detalhe &eacute; que essa informa&ccedil;&atilde;o &eacute; pedida a um [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/br\/tutoriais\/o-que-e-query\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":92,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"rank_math_title":"%title%","rank_math_description":"Saber O Que \u00e9 Query d\u00e1 a voc\u00ea o poder de destrinchar tudo sobre banco de dados. Aprenda como funciona e comandos para usar!","rank_math_focus_keyword":"o que \u00e9 query","footnotes":""},"categories":[5602],"tags":[6225,6223,6222,6224],"class_list":["post-14187","post","type-post","status-publish","format-standard","hentry","category-glossario","tag-bancos-de-dados","tag-queries","tag-query","tag-query-de-banco-de-dados"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/what-is-a-query","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/o-que-e-query","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/que-es-consulta-base-de-datos","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/apa-itu-query","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/what-is-a-query","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/database-query","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/database-query","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-es-consulta-base-de-datos","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-es-consulta-base-de-datos","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/que-es-consulta-base-de-datos","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/o-que-e-query","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/what-is-a-query","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/what-is-a-query","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/what-is-a-query","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/what-is-a-query","default":0}],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/posts\/14187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/comments?post=14187"}],"version-history":[{"count":14,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/posts\/14187\/revisions"}],"predecessor-version":[{"id":39836,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/posts\/14187\/revisions\/39836"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/media?parent=14187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/categories?post=14187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/tutoriais\/wp-json\/wp\/v2\/tags?post=14187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}