---
title: "字段为null的left join"
author: "clgoogle"
date: "2014-06-12T14:24:25Z"
tags: []
categories: ["数据库"]
slug: "null-left-join"
draft: false
lastmod: "2014-06-12T14:24:25Z"
id: 2078761
url: "https://clgoogle.iteye.com/blog/2078761"
---

两个字段相连 如left join

 

若两个字段都为null

 

那么结果是只得到主表的数据，附表没有数据